车辆修改
This commit is contained in:
parent
529b033cb3
commit
79a76b9c3c
@ -10,7 +10,7 @@
|
||||
ei.enterprise_name
|
||||
FROM car_info t LEFT JOIN car_type b ON (t.car_type=b.id and t.project_sn=b.project_sn)
|
||||
left join enterprise_info ei on ei.id=t.enterprise_id
|
||||
left join worker_info wi on t.driver_worker_id = wi.id and t.car_module_type=1 or t.car_module_type=2
|
||||
left join worker_info wi on t.driver_worker_id = wi.id and (t.car_module_type=1 or t.car_module_type=2)
|
||||
left join worker_info wi1 on wi1.id_card=t.outside_driver_id_card and t.car_module_type=3
|
||||
WHERE t.project_sn=#{param.projectSn}
|
||||
<if test="param.carNumber != null and param.carNumber != ''">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user