This commit is contained in:
super_liu
2022-05-09 13:58:10 +08:00
parent cbb623eee3
commit aa097e4b48
2 changed files with 6 additions and 8 deletions
@@ -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标准化员不存在,请配置相关人员");
}