订单数量 fix bug

This commit is contained in:
Jack 2025-07-22 00:43:30 +08:00
parent f1171c72dd
commit e07613ce41

View File

@ -688,14 +688,14 @@
</when>
<!-- 0-全部订单或无状态 -->
<otherwise>
AND ob.order_state_id IN (2011, 2012, 2013, 2014, 2020, 2030, 2040, 2050, 2060, 2070, 2080)
AND ob.order_state_id IN (2011, 2012, 2013, 2014, 2020, 2030, 2040, 2050, 2060, 2070)
</otherwise>
</choose>
</if>
<!-- 2-物流配送 -->
<if test="delivery != null and delivery == 2">
AND oi.delivery_type_id NOT IN (1,2,3,4,10)
AND oi.delivery_type_id IN (1,2,3,4,10)
<!-- 订单状态筛选 -->
<choose>
@ -717,7 +717,7 @@
</when>
<!-- 0-全部订单或无状态 -->
<otherwise>
AND ob.order_state_id IN (2011,2012, 2013, 2014, 2020, 2030, 2040, 2050, 2060, 2070, 2080)
AND ob.order_state_id IN (2011,2012, 2013, 2014, 2020, 2030, 2040, 2050, 2060, 2070)
</otherwise>
</choose>
</if>