|
|
|
@ -152,6 +152,23 @@ 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 = "/listzdzx", method = RequestMethod.GET) |
|
|
|
|
public Result<IPage<SysUser>> listzdzx(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()); |
|
|
|
|
return sysUserService.queryPageListzdzx(req, queryWrapper, pageSize, pageNo); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// @RequiresPermissions("system:user:add")
|
|
|
|
|
@RequestMapping(value = "/add", method = RequestMethod.POST) |
|
|
|
|
public Result<SysUser> add(@RequestBody JSONObject jsonObject) { |
|
|
|
|