| | |
| | | return CommonResult.success(sysUserService.selectUserList(user)); |
| | | } |
| | | |
| | | @ApiOperation(value = "特殊作业人员列表(分页)") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | | @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10") |
| | | }) |
| | | @GetMapping("/spList") |
| | | public CommonResult spList(SysUser user){ |
| | | return CommonResult.success(sysUserService.selectSpUserList(user)); |
| | | } |
| | | |
| | | |
| | | @PreAuthorize("hasAnyAuthority('train:exam:system','train:exam:company','train:exam:depart','train:exam:workshop','train:exam:other')") |
| | | @ApiOperation(value = "根据用户id获取用户信息") |
| | | @GetMapping(value = { "/{userId}" }) |