Commit 7d8010e5 authored by cq990612's avatar cq990612

优化代码结构

parent baad04c0
...@@ -96,14 +96,12 @@ public class UserRoleLevelUtils { ...@@ -96,14 +96,12 @@ public class UserRoleLevelUtils {
if (CollectionUtils.isEmpty(workLevels)) { if (CollectionUtils.isEmpty(workLevels)) {
return null; return null;
} }
/*workLevels.sort(new Comparator<WorkLevel>() {
workLevels.sort(new Comparator<WorkLevel>() {
@Override @Override
public int compare(WorkLevel o1, WorkLevel o2) { public int compare(WorkLevel o1, WorkLevel o2) {
return o2.getId()-o1.getId(); return o2.getId()-o1.getId();
} }
}); });*/
return workLevels; return workLevels;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment