|
|
@@ -3,6 +3,7 @@ package com.ningdatech.pmapi.todocenter.manage; |
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.google.common.collect.Sets; |
|
|
|
import com.ningdatech.basic.exception.BizException; |
|
|
|
import com.ningdatech.basic.model.PageVo; |
|
|
|
import com.ningdatech.pmapi.common.constant.CommonConstant; |
|
|
@@ -540,7 +541,16 @@ public class TodoCenterManage { |
|
|
|
ProcessProgressVo progressInstanceDetail = processInstanceService.getProgressInstanceDetail(null, instanceId); |
|
|
|
List<ProgressNode> progressInfo = progressInstanceDetail.getProgressInfo(); |
|
|
|
|
|
|
|
Set<String> userSet = progressInfo.stream().map(ProgressNode::getUserId).collect(Collectors.toSet()); |
|
|
|
Set<String> userSet = Sets.newHashSet(); |
|
|
|
progressInfo.forEach(node -> { |
|
|
|
if(CollUtil.isNotEmpty(node.getChildren())){ |
|
|
|
for(ProgressNode innerNode : node.getChildren()){ |
|
|
|
userSet.add(innerNode.getUserId()); |
|
|
|
} |
|
|
|
}else{ |
|
|
|
userSet.add(node.getUserId()); |
|
|
|
} |
|
|
|
}); |
|
|
|
Map<String, ProcessInstanceUserDto> userMap = userInfoService.getUserMapByIds(userSet); |
|
|
|
|
|
|
|
// 装配节点审核人员信息 |
|
|
|