Commit dfb98e97 by 王欣伟

修改车辆列表查询和导出

1 parent 18a2f77f
...@@ -440,12 +440,13 @@ ...@@ -440,12 +440,13 @@
<if test="vehicleUsages != null"> <if test="vehicleUsages != null">
and tv.vehicle_usages = #{vehicleUsages} and tv.vehicle_usages = #{vehicleUsages}
</if> </if>
order by tvd.created_date desc,tv.id,tvd.id order by tvd.created_date desc,tv.id,vdId
</select> </select>
<select id="exportVehicleInfo" parameterType="cn.com.glsx.admin.modules.model.param.VehicleInfoSearch" <select id="exportVehicleInfo" parameterType="cn.com.glsx.admin.modules.model.param.VehicleInfoSearch"
resultMap="VehicleInfoReportExportMap"> resultMap="VehicleInfoReportExportMap">
select tv.id , select tv.id ,
tvd.id vdId ,
tv.workorder_id , tv.workorder_id ,
tw.partner_order_no , tw.partner_order_no ,
tv.owner_name , tv.owner_name ,
...@@ -492,7 +493,7 @@ ...@@ -492,7 +493,7 @@
<if test="vehicleUsages != null"> <if test="vehicleUsages != null">
and tv.vehicle_usages = #{vehicleUsages} and tv.vehicle_usages = #{vehicleUsages}
</if> </if>
order by tvd.created_date desc,tv.id,tvd.id order by tvd.created_date desc,tv.id,vdId
</select> </select>
<select id="listTestDriveVehicle" resultType="cn.com.glsx.admin.modules.model.TestVehicleDTO"> <select id="listTestDriveVehicle" resultType="cn.com.glsx.admin.modules.model.TestVehicleDTO">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!