修改查询带服务状态时,查询待服务及待确认订单

This commit is contained in:
yangjun 2024-06-23 20:11:35 +08:00
parent 24e0fb0dcf
commit a296247967
1 changed files with 4 additions and 1 deletions

View File

@ -299,9 +299,12 @@
<if test="shopId!=null">
and o.shop_user_id=#{shopId}
</if>
<if test="status!=null and status!=0 and status!=-1">
<if test="status!=null and status!=0 and status!=-1 and status!=2">
and o.status=#{status}
</if>
<if test="status!=null and status==2">
and o.status=(2,9)
</if>
<if test="status!=null and status==-1">
and o.status in (3,5)
</if>