| | |
| | | @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") |
| | | @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10"), |
| | | @ApiImplicitParam(paramType = "query", name = "duty", dataType = "String", required = false, value = "职务"), |
| | | @ApiImplicitParam(paramType = "query", name = "name", dataType = "String", required = false, value = "姓名") |
| | | }) |
| | | @GetMapping("/list") |
| | | public CommonResult list(ExStudent student){ |
| | | return CommonResult.success(studentService.selectStudentList(student)); |
| | | } |
| | | |
| | | @ApiOperation(value = "学员列表全选") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "duty", dataType = "String", required = false, value = "职务"), |
| | | @ApiImplicitParam(paramType = "query", name = "name", dataType = "String", required = false, value = "姓名") |
| | | }) |
| | | @GetMapping("/list/checkAll") |
| | | public CommonResult checkAll(ExStudent student){ |
| | | return CommonResult.success(studentService.selectStudentCheckAll(student)); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据id获取学员信息") |
| | | @GetMapping(value = { "/{studentId}" }) |
| | | public CommonResult getStudentInfo(@PathVariable(value = "studentId", required = true) Long studentId) |