From 59f9e9dc170027540d835fea61e55557076f6648 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Fri, 31 May 2024 10:13:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E5=BF=83-=E5=A4=84=E7=90=86=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E7=9A=84=E5=B7=A5=E5=8D=95=EF=BC=8C=E7=8A=B6=E6=80=81=E4=BB=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E2=80=9C=E5=A4=84=E7=90=86=E4=B8=AD=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #[1168640093683712]工单中心-处理完成的工单,状态仍显示“处理中” http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1168640093683712 --- .../process/stephandler/core/ProcessStepHandlerBase.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java b/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java index 2a7aefa4..9e29d35e 100644 --- a/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java +++ b/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java @@ -147,6 +147,9 @@ public abstract class ProcessStepHandlerBase implements IProcessStepHandler { processTaskVo.setId(processTaskId); if (draftCount > 0) { processTaskVo.setStatus(ProcessTaskStatus.DRAFT.getValue()); + } else if (succeedCount > 0) { + processTaskVo.setStatus(ProcessTaskStatus.SUCCEED.getValue()); + needCalculateTimeCost = true; } else if (runningCount > 0) { processTaskVo.setStatus(ProcessTaskStatus.RUNNING.getValue()); } else if (abortedCount > 0) { @@ -155,9 +158,6 @@ public abstract class ProcessStepHandlerBase implements IProcessStepHandler { } else if (failedCount > 0) { processTaskVo.setStatus(ProcessTaskStatus.FAILED.getValue()); needCalculateTimeCost = true; - } else if (succeedCount > 0) { - processTaskVo.setStatus(ProcessTaskStatus.SUCCEED.getValue()); - needCalculateTimeCost = true; } else if (hangCount > 0) { processTaskVo.setStatus(ProcessTaskStatus.HANG.getValue()); } else { @@ -229,7 +229,6 @@ public abstract class ProcessStepHandlerBase implements IProcessStepHandler { } } } - System.out.println("hasDoingStep = " + hasDoingStep); } if (!hasDoingStep) { canFire = true; -- Gitee