Commit dae39e25 by 春觉晓

优化员工列表查询

1 parent acaa7d27
......@@ -2222,6 +2222,7 @@ public class BusinessSceneAnalysisService {
Map<String, String> staffDisabledFlagMap = Collections.EMPTY_MAP;
if (CollectionUtils.isNotEmpty(staffInfoList)) {
staffDisabledFlagMap = staffInfoList.stream()
.filter(x -> ObjectUtil.isNotNull(x.getStaffUuidList()))
.collect(Collectors.toMap(StaffInfoDTO::getStaffUuid, StaffInfoDTO::getDeletedFlag, (oldValue, newValue) -> oldValue));
}
for(StaffAnalysisDTO staff : staffList) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!