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_; } }