Commit 618efaad authored by jiaorz's avatar jiaorz

Merge branch 'master-modify-cutAmount' into dev

parents eb212832 d0c0b34c
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
select b.* select b.*
from base_order b from base_order b
LEFT JOIN order_rent_vehicle_detail r on r.order_id = b.id LEFT JOIN order_rent_vehicle_detail r on r.order_id = b.id
where b.type = 1 where b.type = 1 and r.end_time >= now()
<if test="userIds != null and userIds.size > 0"> <if test="userIds != null and userIds.size > 0">
and b.user_id in and b.user_id in
<foreach collection="userIds" item="id" open="(" separator="," close=")"> <foreach collection="userIds" item="id" open="(" separator="," close=")">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment