| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | @GetMapping("/listByCategoryId") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入evaluateTaskCategoryCandidate") |
| | | public R h5listByCategoryId(EvaluateTaskCategoryCandidateVO evaluateTaskCategoryCandidate) { |
| | | if (null == evaluateTaskCategoryCandidate.getEvaluateTaskCategoryId()) |
| | | return R.fail(-1,"任务类型id不能为空"); |
| | | QueryWrapper queryWrapper = new QueryWrapper(); |
| | | queryWrapper.eq("evaluate_task_category_id", evaluateTaskCategoryCandidate.getEvaluateTaskCategoryId()); |
| | | return R.data(evaluateTaskCategoryCandidateService.list(queryWrapper)); |
| | | } |
| | | |
| | | /** |
| | | * 评优任务任务类别候选人表 新增 |
| | | */ |