fix: 修复流程中心-待办流程看不到流程的Bug

This commit is contained in:
2023-10-12 15:47:47 +08:00
parent 6aef900c43
commit cff8384874
2 changed files with 2 additions and 2 deletions
@@ -55,7 +55,7 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
private Map<String, Object> setVariables(ProcessEsInitChange initChange) {
Map<String, Object> map = new HashMap<>();
// 设置流程中各个节点的人
map.put("draftUser", UserUtils.getUserIdByUserName(initChange.getCreateBy()));
map.put("createUser", UserUtils.getUserIdByUserName(initChange.getCreateBy()));
map.put("contactUser", initChange.getContactUser());
map.put("standardExpertList", Optional.ofNullable(initChange.getStandardExpert()).map(s -> Arrays.asList(s.split(","))).orElse(Collections.emptyList()));
map.put("mainDraftUserLeader", initChange.getMainDraftUserLeader());