| | |
| | | |
| | | import com.trafficaudit.common.Result; |
| | | import com.trafficaudit.reportexport.calc.FreightReadinessCheck; |
| | | import com.trafficaudit.reportexport.calc.SummaryMissingDataCheck; |
| | | import com.trafficaudit.reportexport.service.ReportExportService; |
| | | import com.trafficaudit.reportexport.service.ReportExportTaskService; |
| | | import com.trafficaudit.system.service.OperationLogService; |
| | |
| | | private ReportExportService reportService; |
| | | @Resource |
| | | private FreightReadinessCheck freightReadinessCheck; |
| | | @Resource |
| | | private SummaryMissingDataCheck missingDataCheck; |
| | | @Resource |
| | | private ReportExportTaskService exportTaskService; |
| | | @Resource |
| | |
| | | return Result.ok(freightReadinessCheck.check(period)); |
| | | } |
| | | |
| | | /** 汇总大表缺数清单(只读):列出目标期出表会缺的月份/市州/来源(与 freightCheck 互补)。 */ |
| | | @GetMapping("/summaryWorkbook/missing") |
| | | public Result<java.util.List<String>> missingCheck(@RequestParam("period") String period) { |
| | | return Result.ok(missingDataCheck.check(period)); |
| | | } |
| | | |
| | | /** 汇总大表按月扩列(Step 1,只做版式、数据留空):返回下一月版式 xlsx。 */ |
| | | @GetMapping("/export/summaryWorkbook/expand") |
| | | public ResponseEntity<byte[]> expandSummaryWorkbook(@RequestParam("period") String period, |