Commit 2a36e7e4 by 杨林龙

优化试驾数据查询

1 parent 61fa232b
...@@ -40,7 +40,8 @@ ...@@ -40,7 +40,8 @@
inner join t_electric_fence tef on tef.id = tefs.fence_id inner join t_electric_fence tef on tef.id = tefs.fence_id
inner join t_trial_drive_vehicle ttdv on ttdv.vehicle_id = tv.id inner join t_trial_drive_vehicle ttdv on ttdv.vehicle_id = tv.id
left join t_user tu on tu.id = tef.created_by left join t_user tu on tu.id = tef.created_by
where tef.biz_fence_type = 12 and tu.del_flag = 0 where tef.biz_fence_type = 12
and tu.del_flag = 0
and ttdv.del_flag = 0 and ttdv.del_flag = 0
<if test="keywords != null and keywords!='' "> <if test="keywords != null and keywords!='' ">
and ( and (
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!