mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 13:42:07 +08:00
部门精简信息列表按sort排序修复
This commit is contained in:
+1
-1
@@ -372,7 +372,7 @@ public class DeptServiceImpl implements DeptService {
|
|||||||
.collect(Collectors.toMap(DeptDO::getId, deptDO -> deptDO));
|
.collect(Collectors.toMap(DeptDO::getId, deptDO -> deptDO));
|
||||||
Map<Long, Boolean> topLevelCache = new HashMap<>();
|
Map<Long, Boolean> topLevelCache = new HashMap<>();
|
||||||
|
|
||||||
Set<DeptDO> resultSet = new HashSet<>();
|
Set<DeptDO> resultSet = new LinkedHashSet<>();
|
||||||
|
|
||||||
for (DeptDO deptDO : deptDOS) {
|
for (DeptDO deptDO : deptDOS) {
|
||||||
if (isParentDeptTopLevel(deptDO, deptMap, topLevelCache)) {
|
if (isParentDeptTopLevel(deptDO, deptMap, topLevelCache)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user