Commit 05251d0e by 黄小葱

查询店信息改为查用户信息

1 parent 06c559cd
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<select id="searchTrialDrive" resultType="cn.com.glsx.admin.modules.model.TrialDriveVehiclePageDTO"> <select id="searchTrialDrive" resultType="cn.com.glsx.admin.modules.model.TrialDriveVehiclePageDTO">
select tv.id tempId, tv.vin, tv.model_name modelName, tv.config_desc configDesc, select tv.id tempId, tv.vin, tv.model_name modelName, tv.config_desc configDesc,
tv.license_plate licensePlate, tv.created_by createdBy, tv.license_plate licensePlate, tv.created_by createdBy,
ttds.area, ttds.province, ttds.city, ttds.shop_name shopName, ttds.shop_code shopCode, ttds.shop_level shopLevel, ttds.area, ttds.province, ttds.city, tu.username shopName, tu.account shopCode, ttds.shop_level shopLevel,
group_concat(tvd.sn) sns, tvd.created_date installedTime group_concat(tvd.sn) sns, tvd.created_date installedTime
from t_vehicle tv from t_vehicle tv
left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0 left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<select id="exportDriveVehicle" resultType="cn.com.glsx.admin.modules.model.export.TrialDriveVehicleExport"> <select id="exportDriveVehicle" resultType="cn.com.glsx.admin.modules.model.export.TrialDriveVehicleExport">
select tv.vin, tv.model_name modelName, tv.config_desc configDesc, tv.license_plate licensePlate, tv.model_name modelName, select tv.vin, tv.model_name modelName, tv.config_desc configDesc, tv.license_plate licensePlate, tv.model_name modelName,
tv.color, tv.inner_color innerColor, tv.serve_type serveType, tv.color, tv.inner_color innerColor, tv.serve_type serveType,
ttds.shop_name shopName, ttds.shop_code shopCode, tu.username shopName, tu.account shopCode,
group_concat(tvd.sn) sns group_concat(tvd.sn) sns
from t_vehicle tv from t_vehicle tv
left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0 left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!