feat: recycle system

This commit is contained in:
Timi
2026-11-12 17:37:05 +08:00
parent bc901e2f0b
commit 169fd257a9
70 changed files with 2085 additions and 785 deletions
@@ -3,6 +3,7 @@
<mapper namespace="com.imyeyu.api.modules.gao.mapper.GaoSalesOrderChartMapper">
<sql id="orderFilter">
AND o.`deleted_at` IS NULL
AND o.`order_type` &lt;&gt; 'RECYCLE'
AND o.`store_id` = #{storeId}
<if test="customerId != null and customerId != ''">AND o.`customer_id` = #{customerId}</if>
<if test="orderType != null">AND o.`order_type` = #{orderType}</if>
@@ -218,6 +219,7 @@
<sql id="repeatOrderFilter">
AND o.`deleted_at` IS NULL
AND o.`order_type` &lt;&gt; 'RECYCLE'
AND o.`store_id` = #{storeId}
<if test="customerId != null and customerId != ''">AND o.`customer_id` = #{customerId}</if>
<if test="orderType != null">AND o.`order_type` = #{orderType}</if>