From 641fb69dc3d4e16f1c9d4dec38f0ec8a5c318aa2 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: Fri, 26 Dec 2025 08:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E4=BA=A4=E5=BA=95=E5=BE=85?= =?UTF-8?q?=E5=8A=9E=E6=9C=AA=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/TechDisclosureFromSafeController.cs | 8 ++++++++ .../Controllers/TechDisclosureFromTechController.cs | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromSafeController.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromSafeController.cs index 880d1ec..6fee0a1 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromSafeController.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromSafeController.cs @@ -95,6 +95,7 @@ namespace APT.FO.WebApi.Controllers t.Nav_User = null; }); } + T_FM_NOTIFICATION_TASK task = null; if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify")) { if (entity.DISCLOSURE_DATE == null || entity.DISCLOSURE_DATE == DateTime.Parse("0001-01-01 00:00:00")) @@ -145,6 +146,11 @@ namespace APT.FO.WebApi.Controllers } } } + if (entity.TaskID != Guid.Empty) + { + task = NotificationTaskService.GetTaskFinishModel(entity.TaskID); + task.SOURCE_FORMCODE = "FO037_SHOWPRINT"; + } } this.UnifiedCommit(() => { @@ -162,6 +168,8 @@ namespace APT.FO.WebApi.Controllers this.BantchSaveEntityNoCommit(notices); if (job != null) UpdateEntityNoCommit(job); + if (task != null) + UpdateEntityNoCommit(task); }); return true; }); diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromTechController.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromTechController.cs index f9e5a63..4e83612 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromTechController.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/TechDisclosureFromTechController.cs @@ -95,6 +95,7 @@ namespace APT.FO.WebApi.Controllers t.Nav_User = null; }); } + T_FM_NOTIFICATION_TASK task = null; if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify")) { if (entity.DISCLOSURE_DATE == null || entity.DISCLOSURE_DATE == DateTime.Parse("0001-01-01 00:00:00")) @@ -126,6 +127,11 @@ namespace APT.FO.WebApi.Controllers { entity.FORM_STATUS = (int)FOTeamActivityState.已归档; } + if (entity.TaskID != Guid.Empty) + { + task = NotificationTaskService.GetTaskFinishModel(entity.TaskID); + task.SOURCE_FORMCODE = "FO035_SHOWPRINT"; + } } this.UnifiedCommit(() => { @@ -141,6 +147,8 @@ namespace APT.FO.WebApi.Controllers this.BantchSaveEntityNoCommit(files); if (notices != null && notices.Any()) this.BantchSaveEntityNoCommit(notices); + if (task != null) + UpdateEntityNoCommit(task); }); return true; });