Commit 1ec59eec authored by jiaorz's avatar jiaorz

添加根据预定记录ID获取出行记录接口

parent 7603eb1e
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
select DISTINCT v.`id`, select DISTINCT v.`id`,
v.`code`, v.`code`,
(CASE WHEN #{status} != null THEN #{status} (CASE WHEN #{status} != null THEN #{status}
ELSE 0 END) status , ELSE v.status END) status ,
v.number_plate, v.number_plate,
v.brand, v.brand,
v.park_branch_company_id, v.park_branch_company_id,
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
select DISTINCT v.`id`, select DISTINCT v.`id`,
v.`code`, v.`code`,
(CASE WHEN #{status} != null THEN #{status} (CASE WHEN #{status} != null THEN #{status}
ELSE 0 END) status , ELSE v.status END) status ,
v.number_plate, v.number_plate,
v.brand, v.brand,
-- IFNULL(v.park_branch_company_id,v.expect_destination_branch_company_id) AS subordinate_branch, -- IFNULL(v.park_branch_company_id,v.expect_destination_branch_company_id) AS subordinate_branch,
......
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