feat(REQ-3300) - 调整单据详情响应逻辑
This commit is contained in:
parent
65d8967cb8
commit
158a90aaa6
@ -216,12 +216,8 @@ public class ChangeRecordConfirmServiceImpl extends ServiceImpl<ChangeRecordConf
|
||||
}
|
||||
|
||||
// 3 构建关联单位与人员,最终处理成一个类型与单位下,对应多个确认人
|
||||
Map<String, List<ChangeRecordConfirm>> listMap = list.stream().collect(Collectors.groupingBy(e -> {
|
||||
if (Objects.isNull(e.getNodeId())) {
|
||||
return e.getType() + "#" + e.getOuId() + "#0";
|
||||
}
|
||||
return e.getType() + "#" + e.getOuId() + "#" + e.getNodeId();
|
||||
}));
|
||||
Map<String, List<ChangeRecordConfirm>> listMap = list.stream()
|
||||
.collect(Collectors.groupingBy(e -> e.getType() + "#" + e.getOuId()));
|
||||
return this.buildRelationOuAndPerson(listMap, workspaceId);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user