Commit 7d8010e5 authored by cq990612's avatar cq990612

优化代码结构

parent baad04c0
......@@ -251,7 +251,7 @@ public class WorkUserServiceImpl implements WorkUserService {
}
@Override
public ResultUser login(String loginName, String password, String source) {
public ResultUser login(String loginName, String password, String source) {
log.info("WorkUserServiceImpl[]login[].input.param" + loginName + password + source);
if (StringUtils.isEmpty(loginName) || StringUtils.isEmpty(password)) {
throw new BaseCustomException(BASE_RESP_CODE_ENUM.INPUT_PARAM_IS_NULL);
......
......@@ -96,14 +96,12 @@ public class UserRoleLevelUtils {
if (CollectionUtils.isEmpty(workLevels)) {
return null;
}
workLevels.sort(new Comparator<WorkLevel>() {
/*workLevels.sort(new Comparator<WorkLevel>() {
@Override
public int compare(WorkLevel o1, WorkLevel o2) {
return o2.getId()-o1.getId();
}
});
});*/
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