工程师填写意见后被继续修改无法汇总
This commit is contained in:
+9
@@ -1,5 +1,6 @@
|
||||
package com.ydw.bat.wkflow.listener.policyCommentProcess;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.ydw.bat.wkflow.business_main.datas.entity.BusProcessName;
|
||||
@@ -40,6 +41,14 @@ public class EngineerReviewAfter implements TaskListener {
|
||||
String lawsProveEngineer = JSONObject.parseObject(form.getString("form")).getString("lawsProveEngineerId");
|
||||
if(StringUtils.isNotBlank(lawsProveEngineer)){
|
||||
|
||||
JSONArray commentCollectionList =delegateTask.getVariable("commentCollectionList", JSONArray.class);
|
||||
if (commentCollectionList==null) {
|
||||
commentCollectionList=new JSONArray();
|
||||
}
|
||||
commentCollectionList.addAll(object.getJSONArray("info"));
|
||||
delegateTask.setVariable("commentCollectionList",commentCollectionList);
|
||||
|
||||
|
||||
delegateTask.setVariable("lawsProveEngineerId2",lawsProveEngineer);
|
||||
delegateTask.setVariable("lawsProveEngineerVerify",0);
|
||||
|
||||
|
||||
@@ -42,14 +42,7 @@ public class FillCommentAfter implements TaskListener {
|
||||
if(StringUtils.isNotBlank(responseDocker)){
|
||||
|
||||
|
||||
JSONArray commentCollectionList =delegateTask.getVariable("commentCollectionList", JSONArray.class);
|
||||
if (commentCollectionList==null) {
|
||||
commentCollectionList=new JSONArray();
|
||||
}
|
||||
commentCollectionList.addAll(object.getJSONArray("info"));
|
||||
|
||||
|
||||
delegateTask.setVariable("commentCollectionList",commentCollectionList);
|
||||
delegateTask.setVariable("responseDockerId",responseDocker);
|
||||
nextUserList= Arrays.asList(responseDocker.split(","));
|
||||
delegateTask.addCandidateUsers(nextUserList);
|
||||
|
||||
Reference in New Issue
Block a user