| | |
| | | @ApiOperation(value = "分页获取教师管理",httpMethod = "GET") |
| | | @GetMapping("/page") |
| | | public TableDataInfo selectTeacherAll(@RequestParam @NotNull(message = "isCm不能为空") int isCm) { |
| | | startPage(); |
| | | List<GetTeacherRespDTO> list = eduResourcesManagerService.selectTeacherAll(isCm); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @ApiOperation(value = "分页获取教师管理通过工种类型",httpMethod = "GET") |
| | | @GetMapping("/pageByCondition") |
| | | public TableDataInfo selectTeacherByCondition(@RequestParam @NotNull(message = "isCm不能为空") int isCm |
| | | ,@RequestParam Long operateTypeId) { |
| | | List<GetTeacherRespDTO> list = eduResourcesManagerService.selectTeacherByCondition(isCm,operateTypeId); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | */ |