| | |
| | | Assert.notNull(pageNum, "pageNum can not be empty"); |
| | | Assert.notNull(pageSize, "pageSize can not be empty"); |
| | | Page<SysUser> pageParam = new Page<>(pageNum,pageSize); |
| | | List<SysUser> list = IUserService.selectConfigList(pageParam,pageSize,"3",keyword,null); |
| | | List<SysUser> list = IUserService.selectConfigList(pageParam,pageSize,"3",keyword,null,"1"); |
| | | |
| | | int num=IUserService.selectNum("3",keyword,null); |
| | | int num=IUserService.selectNum("3",keyword,null,"1"); |
| | | return getDataTable(list,num); |
| | | } |
| | | |
| | |
| | | * |
| | | * @return 结果 |
| | | */ |
| | | @ApiOperation("获取登录人员信息") |
| | | @ApiOperation(value = "获取登录人员信息,userType=1 为超级管理员 isDivisionHead=1 为部门领导",response = SysUser.class) |
| | | @PostMapping("/getLoginInformation") |
| | | @Authorization |
| | | public ResultData getLoginInformation(@CurrentUser SysUser sysUse) |