查询订单列表的状态字段改成列表
This commit is contained in:
@ -43,8 +43,11 @@
|
||||
<if test="storeId != null">
|
||||
and o.store_id = #{storeId}
|
||||
</if>
|
||||
<if test="orderStatus != null and orderStatus!= ''">
|
||||
and o.order_status = #{orderStatus}
|
||||
<if test="orderStatusList != null and orderStatusList.size() > 0">
|
||||
and o.order_status in
|
||||
<foreach collection="orderStatusList" item="orderStatus" open="(" separator="," close=")">
|
||||
#{orderStatus}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
order by o.update_time desc
|
||||
|
||||
Reference in New Issue
Block a user