Commit 8f3631a4 authored by 周健威's avatar 周健威

Merge remote-tracking branch 'origin/master-modify-cutAmount' into master-modify-cutAmount

parents 288a5eb3 e5532c7b
......@@ -177,7 +177,7 @@
select b.*
from base_order b
LEFT JOIN order_rent_vehicle_detail r on r.order_id = b.id
where b.type = 1 and r.end_time >= now()
where b.type = 1 and r.end_time >= unix_timestamp(now())*1000
<if test="userIds != null and userIds.size > 0">
and b.user_id in
<foreach collection="userIds" item="id" open="(" separator="," close=")">
......@@ -205,7 +205,6 @@
<foreach collection="companyIds" item="id" open="(" separator="," close=")">
#{id}
</foreach>
</if>
<if test="status == 4">
order by r.start_time
......
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