| | |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("evaluateTask/evaluateTask") |
| | | @RequestMapping("evaluate/evaluateTask") |
| | | @Api(value = "评优任务表", tags = "评优任务表接口") |
| | | public class EvaluateTaskController extends BladeController { |
| | | |
| | |
| | | return R.data(EvaluateTaskWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | @GetMapping("/taskList/{deptId}/{userId}") |
| | | public R taskList(@ApiIgnore @PathVariable Long deptId,@ApiIgnore @PathVariable Long userId) { |
| | | QueryWrapper<EvaluateTaskEntity> wrapper = new QueryWrapper<>(); |
| | | wrapper.or().like("candidate_num",deptId).or().like("candidate_num",userId); |
| | | List<EvaluateTaskEntity> list = evaluateTaskService.list(wrapper); |
| | | return R.data(EvaluateTaskWrapper.build().listVO(list)); |
| | | } |
| | | |
| | | /** |
| | | * 评优任务表 自定义分页 |
| | | */ |