| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | |
| | | } |
| | | |
| | | @ApiOperation("按照条件统计每日生产情况导出") |
| | | @PostMapping("/exportDailyProduction") |
| | | public void exportDailyProduction(@RequestBody @Validated DateRequest query) { |
| | | largenScreenService.exportDailyProduction(query); |
| | | @GetMapping("/exportDailyProduction") |
| | | public void exportDailyProduction() { |
| | | largenScreenService.exportDailyProduction(); |
| | | } |
| | | |
| | | @ApiOperation("按照条件统计生产情况") |