dev
parent
cc88a428ec
commit
896398acb2
|
|
@ -133,7 +133,7 @@ public class CustomerStatService {
|
||||||
List<Record> list = checkAccount(tm, customer_id);
|
List<Record> list = checkAccount(tm, customer_id);
|
||||||
|
|
||||||
Workbook wb = new XSSFWorkbook();
|
Workbook wb = new XSSFWorkbook();
|
||||||
Sheet sheet = wb.createSheet(tm + " 客户对账表");
|
Sheet sheet = wb.createSheet(tm + " 客户对账统计");
|
||||||
|
|
||||||
// 表头 start
|
// 表头 start
|
||||||
Row row = sheet.createRow(0);
|
Row row = sheet.createRow(0);
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ public class CustomerStatController extends Controller {
|
||||||
} else {
|
} else {
|
||||||
Workbook wb = CustomerStatService.me.checkAccountExport(tm, customer_id);
|
Workbook wb = CustomerStatService.me.checkAccountExport(tm, customer_id);
|
||||||
|
|
||||||
render(new ExcelRender(tm + "_客户对账表_" + System.currentTimeMillis() + ".xlsx", wb));
|
render(new ExcelRender(tm + "_客户对账统计_" + System.currentTimeMillis() + ".xlsx", wb));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue