Commit afb0f5d1 authored by jiaorz's avatar jiaorz

Merge branch 'order_received_statistics' into dev

parents 0b989985 794b4838
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,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 = 2 and b.status >= 4 where b.type = 1 and (b.status >= 4 or b.status = -1)
<if test="startTime != null and status == 1"> <if test="startTime != null and status == 1">
and r.start_time between #{startTime} and #{endTime} and r.start_time between #{startTime} and #{endTime}
</if> </if>
......
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