Commit 920ac40a by 刘鑫

fix(ID1003832): 工程师页面排序 PRD 按名字降序

1 parent 862c3837
......@@ -390,7 +390,8 @@ public class EngineerServiceImpl implements EngineerService {
items.add(item);
}
return items;
return items.stream().sorted(Comparator.comparing(EngineerInfoListResp.EngineerInfo::getGroupName, Comparator.reverseOrder())
.thenComparing(EngineerInfoListResp.EngineerInfo::getName, Comparator.reverseOrder())).collect(Collectors.toList());
}
private List<EngineerSkillListResp.EngineerSkill> packEngineerSkills(List<EngineerInfoEntity> engineers) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!