|
@@ -287,6 +287,18 @@ public class SysPrivilegeServiceImpl extends ServiceImpl<SysPrivilegeMapper, Sys
|
|
if (Objects.nonNull(map.get(v.getParentId())) && !CollectionUtils.isEmpty(map.get(v.getParentId()).getChildren())) {
|
|
if (Objects.nonNull(map.get(v.getParentId())) && !CollectionUtils.isEmpty(map.get(v.getParentId()).getChildren())) {
|
|
Collections.sort(map.get(v.getParentId()).getChildren());
|
|
Collections.sort(map.get(v.getParentId()).getChildren());
|
|
}
|
|
}
|
|
|
|
+ if (!CollectionUtils.isEmpty(v.getButtons())) {
|
|
|
|
+ Collections.sort(v.getButtons());
|
|
|
|
+ }
|
|
|
|
+ if (!CollectionUtils.isEmpty(v.getLinks())) {
|
|
|
|
+ Collections.sort(v.getLinks());
|
|
|
|
+ }
|
|
|
|
+ if (!CollectionUtils.isEmpty(v.getLists())) {
|
|
|
|
+ Collections.sort(v.getLists());
|
|
|
|
+ }
|
|
|
|
+ if (!CollectionUtils.isEmpty(v.getConditions())) {
|
|
|
|
+ Collections.sort(v.getConditions());
|
|
|
|
+ }
|
|
});
|
|
});
|
|
for (Long key : deleteKeys) {
|
|
for (Long key : deleteKeys) {
|
|
map.remove(key);
|
|
map.remove(key);
|