|
@@ -115,7 +115,7 @@ public class StatisticsDataController {
|
|
|
@GetMapping("/export/monthly/data")
|
|
@GetMapping("/export/monthly/data")
|
|
|
public void exportMonthlyData(Long startTime, Long endTime, HttpServletResponse response) {
|
|
public void exportMonthlyData(Long startTime, Long endTime, HttpServletResponse response) {
|
|
|
List<ExcelSheetAndData> excelSheetDataList = statisticsDataService.exportMonthlyData(startTime, endTime);
|
|
List<ExcelSheetAndData> excelSheetDataList = statisticsDataService.exportMonthlyData(startTime, endTime);
|
|
|
- EasyExcelUtils.createExcelStreamMutilByEasyExcel(response, excelSheetDataList, String.format("%s月订单数据", DateUtil.month(DateTime.of(startTime))), ExcelTypeEnum.XLSX, null);
|
|
|
|
|
|
|
+ EasyExcelUtils.createExcelStreamMutilByEasyExcel(response, excelSheetDataList, String.format("%s月订单数据", DateUtil.month(DateTime.of(startTime)) + 1), ExcelTypeEnum.XLSX, null);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|