| | |
| | | } |
| | | |
| | | /** 生成_道路运输量汇总表.xlsx(汇总工作簿 P0-P1 骨架:整本复制母版,页签/公式/2025 缓存保留) */ |
| | | /** 汇总大表按月扩列(Step 1,只做版式、数据留空):返回下一月版式 xlsx。 */ |
| | | @GetMapping("/export/summaryWorkbook/expand") |
| | | public ResponseEntity<byte[]> expandSummaryWorkbook(@RequestParam("period") String period, |
| | | @RequestParam(value = "titlesOnly", defaultValue = "false") boolean titlesOnly) throws Exception { |
| | | if (titlesOnly) { |
| | | byte[] titled = reportService.fixSummaryTitles(period); |
| | | return buildResponse(titled, String.format("标题修正_道路运输量汇总表_%s.xlsx", period)); |
| | | } |
| | | byte[] data = reportService.expandSummaryWorkbook(period); |
| | | return buildResponse(data, String.format("扩列_道路运输量汇总表_%s_待确认.xlsx", period)); |
| | | } |
| | | |
| | | @GetMapping("/export/summaryWorkbook") |
| | | public ResponseEntity<byte[]> exportSummaryWorkbook(@RequestParam("period") String period, |
| | | @RequestParam(value = "mode", defaultValue = "month") String mode, |