From 244197238ee5078e7c1ff4bfc38c0a746f50cad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Tue, 16 Dec 2025 09:40:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=AF=BC=E5=B8=A6=E7=8F=AD=E4=B8=8B?= =?UTF-8?q?=E4=BA=95=E5=BE=85=E5=8A=9E=E4=B8=8D=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/LeaderWellRecordController.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs index 6e17e5b..1b91256 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs @@ -258,6 +258,7 @@ namespace APT.FO.WebApi.Controllers } } entity.STATUS = FOStatusEnum.Draft; + T_FM_NOTIFICATION_TASK task = null; var sendNotices = new List(); 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(() => { @@ -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; });