统计的 一些报错

This commit is contained in:
2025-11-22 14:20:04 +08:00
parent 381ae80eeb
commit f8d8f50c66
3 changed files with 45 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
LEFT JOIN tb_product prod ON detail.product_id = prod.id
WHERE
`order`.shop_id = #{shopId}
AND `order`.trade_day = #{tradeDay}
AND `order`.trade_day = #{day}
AND `order`.paid_time IS NOT NULL
<if test="productName != null and productName != ''">
AND detail.name LIKE CONCAT('%',#{productName},'%')