feat: bug #52718
This commit is contained in:
@@ -43,12 +43,11 @@ public class BussLibraryC3After implements TaskListener{
|
||||
List<BusProcessNew> list = busBean.list(queryWrapper1);
|
||||
if(!list.isEmpty()){
|
||||
BusProcessNew one = list.get(0);
|
||||
JSONObject object = JSONObject.parseObject(one.getMesg());
|
||||
List<String> nextUserList = new ArrayList();
|
||||
|
||||
if(StringUtils.isNotBlank(object.getString("bzhUserId"))){
|
||||
delegateTask.setVariable("bzhUserId",object.getString("bzhUserId"));
|
||||
nextUserList.add(object.getString("bzhUserId"));
|
||||
if(StringUtils.isNotBlank(objectNew.getString("bzhUserId"))){
|
||||
delegateTask.setVariable("bzhUserId",objectNew.getString("bzhUserId"));
|
||||
nextUserList.add(objectNew.getString("bzhUserId"));
|
||||
}else {
|
||||
throw new ActivitiException("1#2标准化员不存在,请配置相关人员");
|
||||
}
|
||||
|
||||
@@ -43,12 +43,11 @@ public class BussLibraryC6After implements TaskListener{
|
||||
List<BusProcessNew> list = busBean.list(queryWrapper1);
|
||||
if(!list.isEmpty()){
|
||||
BusProcessNew one = list.get(0);
|
||||
JSONObject object = JSONObject.parseObject(one.getMesg());
|
||||
List<String> nextUserList = new ArrayList();
|
||||
|
||||
if(StringUtils.isNotBlank(object.getString("fggcsUserId"))){
|
||||
delegateTask.setVariable("fggcsUserId",object.getString("fggcsUserId"));
|
||||
nextUserList.add(object.getString("fggcsUserId"));
|
||||
if(StringUtils.isNotBlank(objectNew.getString("fggcsUserId"))){
|
||||
delegateTask.setVariable("fggcsUserId",objectNew.getString("fggcsUserId"));
|
||||
nextUserList.add(objectNew.getString("fggcsUserId"));
|
||||
}else {
|
||||
throw new ActivitiException("1#2标准化员不存在,请配置相关人员");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user