领导带班下井待办不消失

This commit is contained in:
何美荣 2025-12-16 09:40:33 +08:00
parent e0f2f6dce3
commit 244197238e

View File

@ -258,6 +258,7 @@ namespace APT.FO.WebApi.Controllers
}
}
entity.STATUS = FOStatusEnum.Draft;
T_FM_NOTIFICATION_TASK task = null;
var sendNotices = new List<T_FM_NOTIFICATION_TASK>();
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
{
@ -293,6 +294,11 @@ namespace APT.FO.WebApi.Controllers
}
}
if (entity.TaskID != Guid.Empty)
{
task = NotificationTaskService.GetTaskFinishModel(entity.TaskID);
task.SOURCE_FORMCODE = "FO041_SHOWPRINT";
}
}
this.UnifiedCommit(() =>
{
@ -328,6 +334,8 @@ namespace APT.FO.WebApi.Controllers
this.BantchSaveEntityNoCommit(fileList);
if (sendNotices != null && sendNotices.Any())
this.BantchSaveEntityNoCommit(sendNotices);
if (task != null)
this.UpdateEntityNoCommit(task);
});
return true;
});