From 950f3f3b6e20e93fd82a9acca567cba4310a6ce5 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 26 Sep 2022 16:35:41 +0800 Subject: [PATCH] ... --- .../controller/TAbilityApplicationController.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java index 6e08ca4d..67cd247c 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java @@ -286,10 +286,11 @@ public class TAbilityApplicationController { detailDTO.setExecutionId(task.getExecutionId()); detailDTO.setProcessDefinitionId(task.getProcessDefinitionId()); detailDTO.setComment("待审核"); - final List taskHandleDetailInfo_ = taskHandleDetailInfo; + final List taskHandleDetailInfo_ = new ArrayList<>(); + taskHandleDetailInfo_.add(detailDTO); + taskHandleDetailInfo_.addAll(taskHandleDetailInfo); taskHandleDetailInfo.clear(); - taskHandleDetailInfo.add(detailDTO); - taskHandleDetailInfo.addAll(taskHandleDetailInfo_); + taskHandleDetailInfo = taskHandleDetailInfo_; } }