| | |
| | | |
| | | import javax.validation.Valid; |
| | | import java.time.LocalDateTime; |
| | | import java.time.Year; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | @PostMapping("/screen") |
| | | @ApiOperation("大屏数据") |
| | | public Result<ScreenVO> screen(@RequestParam(value = "county",required = false)Integer county, |
| | | @RequestParam(value = "year")Integer year) { |
| | | @RequestParam(value = "year",required = false)Integer year) { |
| | | if (year == null){ |
| | | year = Year.now().getValue(); |
| | | } |
| | | return Result.success( dataService.screen(county==null?0:county,year)); |
| | | } |
| | | /** |