订单信息增加车牌号和车架号
This commit is contained in:
@ -25,10 +25,17 @@
|
||||
o.first_order_time,
|
||||
o.end_rent_time,
|
||||
o.car_model_id,
|
||||
o.vehicle_id,
|
||||
c.license_plate,
|
||||
c.vin,
|
||||
m.model_name,
|
||||
m.brand_name,
|
||||
m.image
|
||||
from zc_order_main o join zc_car_model m on o.car_model_id = m.id
|
||||
from
|
||||
zc_order_main o
|
||||
join zc_car_model m on o.car_model_id = m.id
|
||||
LEFT JOIN zc_car c on o.vehicle_id = c.id
|
||||
|
||||
<where>
|
||||
<if test="customerId != null">
|
||||
and o.customer_id = #{customerId}
|
||||
|
||||
Reference in New Issue
Block a user