update 修复我的待办查询报错问题
This commit is contained in:
parent
efc46c17b2
commit
2142fc8876
@ -155,7 +155,14 @@ public class WorkflowUtils {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
List<HistoricIdentityLink> candidateList = StreamUtils.filter(linksForTask, e -> FlowConstant.CANDIDATE.equals(e.getType()));
|
List<HistoricIdentityLink> candidateList = StreamUtils.filter(linksForTask, e -> FlowConstant.CANDIDATE.equals(e.getType()));
|
||||||
List<Long> userIdList = StreamUtils.toList(linksForTask, e -> Long.valueOf(e.getUserId()));
|
List<Long> userIdList = new ArrayList<>();
|
||||||
|
for (HistoricIdentityLink historicIdentityLink : linksForTask) {
|
||||||
|
try {
|
||||||
|
userIdList.add(Long.valueOf(historicIdentityLink.getUserId()));
|
||||||
|
} catch (NumberFormatException ignored) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
List<SysUserVo> sysUsers = WORKFLOW_USER_SERVICE.getUserListByIds(userIdList);
|
List<SysUserVo> sysUsers = WORKFLOW_USER_SERVICE.getUserListByIds(userIdList);
|
||||||
if (CollUtil.isNotEmpty(sysUsers)) {
|
if (CollUtil.isNotEmpty(sysUsers)) {
|
||||||
List<Long> userIds = StreamUtils.toList(sysUsers, SysUserVo::getUserId);
|
List<Long> userIds = StreamUtils.toList(sysUsers, SysUserVo::getUserId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user