master:导出调优;

pull/1121/head
liujiang 2025-10-22 20:51:40 +08:00
parent f7781cb493
commit 08876fcced
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public class StoreSaleDownloadDTO {
@Excel(name = "客户")
private String storeCusName;
@Excel(name = "出库日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
private Date voucherDate;
private Date createTime;
@Excel(name = "销售总额")
private BigDecimal amount;
@Excel(name = "销售数量")

View File

@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ROW_NUMBER() OVER ( ORDER BY ss.voucher_date DESC ) AS orderNum,
ss.`code`,
sc.cus_name AS storeCusName,
ss.voucher_date,
ss.create_time,
ss.amount,
CONCAT(IFNULL( ss.sale_quantity, 0 ),'/', CASE WHEN IFNULL( ss.refund_quantity, 0 ) > 0 THEN '-' ELSE '' END, IFNULL( ss.refund_quantity, 0 )) AS quantity,
IFNULL( ss.round_off, 0 ) AS round_off,