You've already forked FrameTour-BE
添加后台订单筛选
This commit is contained in:
@ -306,6 +306,14 @@
|
||||
<if test="endCancelTime!= null ">
|
||||
and cancel_at <= #{endCancelTime}
|
||||
</if>
|
||||
<if test="type != null">
|
||||
<if test="type < 0">
|
||||
and o.type = #{type}
|
||||
</if>
|
||||
<if test="type >= 0">
|
||||
and o.id in (select order_id from order_item where goods_type = #{type})
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
order by o.create_at desc
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user