用户排序

This commit is contained in:
shiziyuan9527 2020-06-08 18:18:11 +08:00
parent f1e4cb8d92
commit ae77df2ae3
1 changed files with 3 additions and 1 deletions

View File

@ -171,7 +171,9 @@ public class UserService {
}
public List<User> getUserList() {
return userMapper.selectByExample(null);
UserExample example = new UserExample();
example.setOrderByClause("update_time desc");
return userMapper.selectByExample(example);
}
public List<User> getUserListWithRequest(io.metersphere.controller.request.UserRequest request) {