feat(REQ-3714): 处理多个班组长的情况
This commit is contained in:
parent
8f1cc335be
commit
c9309f5ad7
@ -229,7 +229,7 @@ public class NodeUserCheckServiceImpl implements NodeUserCheckService {
|
||||
}
|
||||
|
||||
Set<Long> teamLeadPersonSet = new HashSet<>();
|
||||
nodeUsers.stream().filter(e -> e.getIdentityType().equals(IdentityType.WORKER_LEADER.getCode())).findAny().ifPresent(e -> {
|
||||
nodeUsers.stream().filter(e -> e.getIdentityType().equals(IdentityType.WORKER_LEADER.getCode())).forEach(e -> {
|
||||
BatchDeleteNodeUserCheckResp.CheckFailInfo checkFailInfo = new BatchDeleteNodeUserCheckResp.CheckFailInfo();
|
||||
checkFailInfo.setType(CheckInfoTypeEnum.TEAM_LEADER);
|
||||
addFailInfo(failInfoMap, e.getPersonId(), checkFailInfo);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user