feat: buss3
This commit is contained in:
@@ -57,13 +57,24 @@ public class BussFsSub2After implements TaskListener{
|
||||
String standName = "";
|
||||
String prcName = "企标复审流程-发起人汇总结果";
|
||||
|
||||
|
||||
Integer commentCount=delegateTask.getVariable("count",Integer.class);
|
||||
if(commentCount==null)commentCount=0;
|
||||
commentCount++;
|
||||
delegateTask.setVariable("count",commentCount);
|
||||
|
||||
Collection commentUserList=delegateTask.getVariable("bussFsSubList",Collection.class);
|
||||
|
||||
|
||||
QueryWrapper queryWrapper2 = new QueryWrapper();
|
||||
queryWrapper2.eq("PRC_ID",delegateTask.getProcessInstanceId());
|
||||
BusProcessName one1 = busProcessNameService.getOne(queryWrapper2);
|
||||
if(one1!=null){
|
||||
// one1.setOverTime(OVERTIME);
|
||||
one1.setPrcType("buss3");
|
||||
one1.setPrcName(prcName);
|
||||
if(commentCount>=commentUserList.size()) {
|
||||
one1.setPrcName(prcName);
|
||||
}
|
||||
one1.setCreatUser(user);
|
||||
one1.setCreatUserName(username);
|
||||
busProcessNameService.saveOrUpdate(one1);
|
||||
@@ -80,13 +91,6 @@ public class BussFsSub2After implements TaskListener{
|
||||
fileList.addAll(object.getJSONArray("fileModelList"));
|
||||
delegateTask.setVariable("fileModelList",fileList);
|
||||
|
||||
Integer commentCount=delegateTask.getVariable("count",Integer.class);
|
||||
if(commentCount==null)commentCount=0;
|
||||
commentCount++;
|
||||
delegateTask.setVariable("count",commentCount);
|
||||
|
||||
Collection commentUserList=delegateTask.getVariable("bussFsSubList",Collection.class);
|
||||
|
||||
// 存储当前节点意见
|
||||
BusProcessNew busProcessNew = new BusProcessNew();
|
||||
busProcessNew.setMsgType("clause");
|
||||
|
||||
Reference in New Issue
Block a user