Merge remote-tracking branch 'origin/dev_20240116_OTA' into dev_20240116_OTA
This commit is contained in:
+8
-1
@@ -13190,9 +13190,16 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
}
|
||||
}
|
||||
List<SysUser> sysUserList = new ArrayList<>();
|
||||
if(ObjectUtils.isNotEmpty(userIdList)){
|
||||
if(ObjectUtils.isNotEmpty(userIdList)) {
|
||||
userIdList = userIdList.stream().distinct().collect(Collectors.toList());
|
||||
sysUserList = sysUserService.querySysUserListByIdList(userIdList);
|
||||
//排序
|
||||
Collator comparator = Collator.getInstance(Locale.CHINESE);
|
||||
Collections.sort(sysUserList, (e1, e2) -> {
|
||||
String e1Username = StringUtils.isNotBlank(e1.getUsername()) ? e1.getUsername() : "";
|
||||
String e2Username = StringUtils.isNotBlank(e2.getUsername()) ? e2.getUsername() : "";
|
||||
return comparator.compare(e1Username, e2Username);
|
||||
});
|
||||
}
|
||||
return sysUserList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user