| | |
| | | } |
| | | |
| | | @ApiOperation(value = "绩效管理-班次-分页查询") |
| | | @GetMapping("page") |
| | | public Result<?> performanceShiftPage(Integer size, Integer current, LocalDateTime time, String userName, String laboratory) { |
| | | @PostMapping("page") |
| | | public Result<?> performanceShiftPage(Integer size, Integer current, String time, String userName, String laboratory) { |
| | | return Result.success(performanceShiftService.performanceShiftPage(new Page<>(current, size), time, userName, laboratory)); |
| | | } |
| | | |
| | | @ApiOperation(value = "绩效管理-班次-班次状态修改") |
| | | @GetMapping("update/{id}") |
| | | @PutMapping("update/{id}") |
| | | public Result<?> performanceShiftUpdate(String shift, @PathVariable("id") Integer id) { |
| | | performanceShiftService.performanceShiftUpdate(shift, id); |
| | | return Result.success(); |