generated from root/miduo_server
jieling
parent
a6bfa7add9
commit
88dff608d0
|
|
@ -314,7 +314,7 @@ public class OrderInfoController {
|
||||||
*/
|
*/
|
||||||
private void exportOrderExcel(String name,List<Corder> cgPayOrders){
|
private void exportOrderExcel(String name,List<Corder> cgPayOrders){
|
||||||
long start = DateUtil.now();
|
long start = DateUtil.now();
|
||||||
LOGGER.info("开始导出订单,写入文件");
|
LOGGER.info("开始导出订单,写入文件,name:{},订单数:{}",name, cgPayOrders.size());
|
||||||
try (FileOutputStream fOut = new FileOutputStream(getExcelFilePath(name, start))) {
|
try (FileOutputStream fOut = new FileOutputStream(getExcelFilePath(name, start))) {
|
||||||
try (Workbook workbook = new XSSFWorkbook()) {
|
try (Workbook workbook = new XSSFWorkbook()) {
|
||||||
CellStyle contextStyle = workbook.createCellStyle();
|
CellStyle contextStyle = workbook.createCellStyle();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue