From f7df1e30719e5e11e16da28ca7d206c4ad40bc08 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Wed, 19 Jul 2023 16:53:26 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E8=A7=A3=E5=86=B3=E6=97=A5=E5=B8=B8?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=9C=AA?= =?UTF-8?q?=E4=BC=A0=E4=BB=BB=E5=8A=A1=E8=A1=A8=E5=8D=95=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operational/maintenance/scheduled/MaintenanceTaskCreateTask.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/scheduled/MaintenanceTaskCreateTask.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/scheduled/MaintenanceTaskCreateTask.java index 1e55809..411f20c 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/scheduled/MaintenanceTaskCreateTask.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/scheduled/MaintenanceTaskCreateTask.java @@ -158,15 +158,14 @@ public class MaintenanceTaskCreateTask { taskEntity.setProcessInstanceId(processInstanceId); taskService.updateById(taskEntity); this.pushTaskMessage(taskEntity); + planEntity.setCreateTaskTime(DateUtil.now()); + planMapper.updateById(planEntity); } else { if(ObjectUtil.isNotEmpty(taskService.getById(taskEntity.getId()))) { taskService.removeById(taskEntity.getId()); } } - planEntity.setCreateTaskTime(DateUtil.now()); - planMapper.updateById(planEntity); - } /**