...
|
...
|
@@ -39,13 +39,11 @@ public class UserController { |
|
|
int pageNum,
|
|
|
@RequestParam(value = "pageSize",required = false,defaultValue = "5")
|
|
|
int pageSize,
|
|
|
@RequestParam(value = "username",required = false) String username,
|
|
|
@RequestParam(value = "realname",required = false) String realname)
|
|
|
@RequestParam(value = "userName",required = false) String username,
|
|
|
@RequestParam(value = "realName",required = false) String realname)
|
|
|
{
|
|
|
USERS user = new USERS();
|
|
|
user.setUsername(username);
|
|
|
user.setRealname(realname);
|
|
|
PageInfo<USERS> usersPageInfo = userService.selectAllUser(pageNum,pageSize,user);
|
|
|
|
|
|
PageInfo<USERS> usersPageInfo = userService.selectAllUser(pageNum,pageSize, username, realname);
|
|
|
return new ResultJson("200","success",usersPageInfo);
|
|
|
}
|
|
|
|
...
|
...
|
|