修改查询带服务状态时,查询待服务及待确认订单
This commit is contained in:
parent
24e0fb0dcf
commit
a296247967
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue