Commit 473e6ee0 authored by hezhen's avatar hezhen

13

parent d3e59cd7
...@@ -952,8 +952,8 @@ ...@@ -952,8 +952,8 @@
SELECT count(*) total, '0' travel_status, '总数' detail from vehicle v2 SELECT count(*) total, '0' travel_status, '总数' detail from vehicle v2
-- 所属分公司 -- 所属分公司
LEFT JOIN branch_company bc2 ON v2.subordinate_branch = bc2.id LEFT JOIN branch_company bc2 ON v2.subordinate_branch = bc2.id
LEFT JOIN branch_company bc3 ON v1.park_branch_company_id = bc3.id LEFT JOIN branch_company bc3 ON v2.park_branch_company_id = bc3.id
LEFT JOIN branch_company bc4 ON v1.expect_destination_branch_company_id = bc4.id LEFT JOIN branch_company bc4 ON v2.expect_destination_branch_company_id = bc4.id
<where> <where>
<if test="startTime != null"> <if test="startTime != null">
and v2.create_time between #{startTime} and #{endTime} and v2.create_time between #{startTime} and #{endTime}
......
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