| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | |
| | | */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/current-quarter") |
| | | @RequestMapping("/current-quarter-dept") |
| | | @RequiredArgsConstructor |
| | | @Api(tags = "当前季度数据相关接口") |
| | | public class CurrentQuarterController { |
| | |
| | | */ |
| | | @PostMapping("/page-score") |
| | | @ApiOperation("得分计算分页查询") |
| | | public R<PageDTO<ScoreVO>> pageScore(@RequestBody ScoreQuery query) { |
| | | public R<PageDTO<ScoreVO>> pageScore(@Validated @RequestBody ScoreQuery query) { |
| | | try { |
| | | return R.ok(tbBasicDataService.pageScore(query)); |
| | | } catch (Exception e) { |