订单查看的状态条件修改

This commit is contained in:
1215525055@qq.com 2025-06-09 09:46:35 +08:00
parent 46bc3d062e
commit f4ffbbe0c0

View File

@ -491,7 +491,7 @@
AND t1.buy_user_id = #{buyUserId}
</if>
<if test="systemOrder != null and systemOrder != ''">
AND (t1.order_status = '2' OR t1.order_status = '3' OR t1.order_status = '4' OR t1.order_status = '5')
AND (t1.order_status = '0' OR t1.order_status = '1' OR t1.order_status = '2' OR t1.order_status = '3' OR t1.order_status = '4' OR t1.order_status = '5')
</if>
<if test="orderStatus != null and orderStatus != ''">
AND t1.order_status = #{orderStatus}