根据时间导出多个sheet 页
This commit is contained in:
@ -56,10 +56,19 @@ public class CustomizeExcelController {
|
|||||||
ExcelUtils.write(response, "订单详情统计.xls", "数据", OrderExcelVO.class,
|
ExcelUtils.write(response, "订单详情统计.xls", "数据", OrderExcelVO.class,
|
||||||
orderExcelVOS);
|
orderExcelVOS);
|
||||||
}
|
}
|
||||||
|
@GetMapping("/orderExcel1")
|
||||||
|
@Operation(summary = "导出订单详情")
|
||||||
|
@OperateLog(type = EXPORT)
|
||||||
|
public void exportBusinessExcel1(String startTime,String endTime,Long carteenId,
|
||||||
|
HttpServletResponse response) throws IOException {
|
||||||
|
|
||||||
|
List<OrderExcelVO> orderExcelVOS = excelService.exportOrderExcel(startTime, endTime,carteenId);
|
||||||
|
exporOrderDate(orderExcelVOS,response);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 根据时间导出多个sheet 页
|
* 根据时间导出多个sheet 页
|
||||||
* @param
|
* @param
|
||||||
|
* @param data1
|
||||||
* @param response
|
* @param response
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user