|
|
|
@ -152,6 +152,33 @@ public class SysUserController { |
|
|
|
|
return sysUserService.queryPageList(req, queryWrapper, pageSize, pageNo); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取系统用户数据(查询全部用户,不做租户隔离) |
|
|
|
|
* |
|
|
|
|
* @param user |
|
|
|
|
* @param pageNo |
|
|
|
|
* @param pageSize |
|
|
|
|
* @param req |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
//@RequiresPermissions("system:user:listAll")
|
|
|
|
|
@RequestMapping(value = "/listZjAll", method = RequestMethod.GET) |
|
|
|
|
public Result<IPage<SysUser>> queryZjAllPageList(SysUser user, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, HttpServletRequest req) { |
|
|
|
|
QueryWrapper<SysUser> queryWrapper = QueryGenerator.initQueryWrapper(user, req.getParameterMap()); |
|
|
|
|
|
|
|
|
|
Result<IPage<SysUser>> result = new Result<IPage<SysUser>>(); |
|
|
|
|
Page<SysUser> page = new Page<SysUser>(pageNo, pageSize); |
|
|
|
|
// String roleId = req.getParameter("roleId");
|
|
|
|
|
String roleId = "1731948288626339841"; |
|
|
|
|
String username = req.getParameter("username"); |
|
|
|
|
IPage<SysUser> pageList = sysUserService.getUserByRoleId(page,roleId,username); |
|
|
|
|
result.setSuccess(true); |
|
|
|
|
result.setResult(pageList); |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取系统用户数据(查询全部用户,不做租户隔离) |
|
|
|
|
*这个是用于专家、学生、组委会查看自己的信息 |
|
|
|
|