领导带班下井待办不消失
This commit is contained in:
parent
e0f2f6dce3
commit
244197238e
@ -258,6 +258,7 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
entity.STATUS = FOStatusEnum.Draft;
|
entity.STATUS = FOStatusEnum.Draft;
|
||||||
|
T_FM_NOTIFICATION_TASK task = null;
|
||||||
var sendNotices = new List<T_FM_NOTIFICATION_TASK>();
|
var sendNotices = new List<T_FM_NOTIFICATION_TASK>();
|
||||||
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
|
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
|
||||||
{
|
{
|
||||||
@ -292,7 +293,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (entity.TaskID != Guid.Empty)
|
||||||
|
{
|
||||||
|
task = NotificationTaskService.GetTaskFinishModel(entity.TaskID);
|
||||||
|
task.SOURCE_FORMCODE = "FO041_SHOWPRINT";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.UnifiedCommit(() =>
|
this.UnifiedCommit(() =>
|
||||||
{
|
{
|
||||||
@ -328,6 +334,8 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
this.BantchSaveEntityNoCommit(fileList);
|
this.BantchSaveEntityNoCommit(fileList);
|
||||||
if (sendNotices != null && sendNotices.Any())
|
if (sendNotices != null && sendNotices.Any())
|
||||||
this.BantchSaveEntityNoCommit(sendNotices);
|
this.BantchSaveEntityNoCommit(sendNotices);
|
||||||
|
if (task != null)
|
||||||
|
this.UpdateEntityNoCommit(task);
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user