| | |
| | | return buildResponse(reportService.exportPassengerMidAnalysis(period, mode), "生成_公路旅客中口径分析.xlsx"); |
| | | } |
| | | |
| | | /** 生成_道路运输量汇总表.xlsx(汇总工作簿 P0-P1 骨架:整本复制母版,页签/公式/2025 缓存保留) */ |
| | | @GetMapping("/export/summaryWorkbook") |
| | | public ResponseEntity<byte[]> exportSummaryWorkbook(@RequestParam("period") String period, |
| | | @RequestParam(value = "mode", defaultValue = "month") String mode, |
| | | @RequestParam(value = "toMonth", required = false) Integer toMonth) throws Exception { |
| | | logExport("道路运输量汇总表.xlsx", period); |
| | | return buildResponse(reportService.exportSummaryWorkbook(period, mode, toMonth), String.format("生成_道路运输量汇总表_%s.xlsx", period)); |
| | | } |
| | | |
| | | /** 生成_网约车客运量拆分表.xlsx(月度:订单附件1 + 全省 pin + 巡游出租月报) */ |
| | | @GetMapping("/export/wycSplit") |
| | | public ResponseEntity<byte[]> exportWycSplit(@RequestParam("period") String period, |
| | | @RequestParam(value = "mode", defaultValue = "month") String mode) throws Exception { |
| | | logExport("生成_网约车客运量拆分表.xlsx", period); |
| | | return buildResponse(reportService.exportWycSplit(period, mode), String.format("生成_网约车客运量拆分表_%s.xlsx", period)); |
| | | } |
| | | |
| | | /** 生成_能运汇总表.xlsx(H204,全省 + 各市州 sheet) */ |
| | | @GetMapping("/export/energySummary") |
| | | public ResponseEntity<byte[]> exportEnergySummary(@RequestParam("period") String period) throws Exception { |
| | |
| | | public ResponseEntity<byte[]> exportCityPassengerCitySum(@RequestParam("period") String period, |
| | | @RequestParam(value = "mode", defaultValue = "month") String mode) throws Exception { |
| | | logExport("生成_城市客运客运量分市州累计.xlsx", period); |
| | | return buildResponse(reportService.exportCityPassengerCitySum("导入模板_城市分市州.xlsx", period, mode), "生成_城市客运客运量分市州累计.xlsx"); |
| | | return buildResponse(reportService.exportCityPassengerCitySum("生成_城市客运客运量分市州累计.xlsx", period, mode), "生成_城市客运客运量分市州累计.xlsx"); |
| | | } |
| | | |
| | | /** 生成_城市客运各市州明细表.xlsx(城市客运各市州明细表_模板底稿) */ |
| | |
| | | public ResponseEntity<byte[]> exportCityPassengerDetailSum(@RequestParam("period") String period, |
| | | @RequestParam(value = "mode", defaultValue = "month") String mode) throws Exception { |
| | | logExport("生成_城市客运各市州明细表.xlsx", period); |
| | | return buildResponse(reportService.exportCityPassengerCitySum("导入模板_城市客运各市州明细表.xlsx", period, mode), "生成_城市客运各市州明细表.xlsx"); |
| | | return buildResponse(reportService.exportCityPassengerCitySum("生成_城市客运各市州明细表.xlsx", period, mode), "生成_城市客运各市州明细表.xlsx"); |
| | | } |
| | | |
| | | /** 生成_城市客运汇总.xlsx(城市汇总_模板底稿) */ |
| | |
| | | .body(data); |
| | | } |
| | | } |
| | | |
| | | |