feat: recycle system
This commit is contained in:
@@ -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` <> '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` <> '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>
|
||||
|
||||
Reference in New Issue
Block a user