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