Commit 9e6c4c2a authored by tanyang's avatar tanyang

修改用户列表排序

parent 95cd4543
...@@ -17,12 +17,12 @@ public enum UserType { ...@@ -17,12 +17,12 @@ public enum UserType {
/** /**
* pc端 * pc端
*/ */
SYS_USER("sys_user"), SYS_USER("00"),
/** /**
* app端 * app端
*/ */
APP_USER("app_user"); APP_USER("01");
private final String userType; private final String userType;
......
...@@ -88,7 +88,7 @@ public class SysUserServiceImpl implements ISysUserService, UserService { ...@@ -88,7 +88,7 @@ public class SysUserServiceImpl implements ISysUserService, UserService {
List<Long> ids = StreamUtils.toList(deptList, SysDept::getDeptId); List<Long> ids = StreamUtils.toList(deptList, SysDept::getDeptId);
ids.add(user.getDeptId()); ids.add(user.getDeptId());
w.in("u.dept_id", ids); w.in("u.dept_id", ids);
}); }).orderByDesc("u.create_time");
return wrapper; return wrapper;
} }
......
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