Commit 7122c320 by 杨林龙

修改车辆查询列表激活时间参数显示

1 parent d41c0709
...@@ -366,10 +366,10 @@ ...@@ -366,10 +366,10 @@
) )
</if> </if>
<if test="activateTimeStart != null and activateTimeStart !=''"> <if test="activateTimeStart != null and activateTimeStart !=''">
and left(td.activate_time,10) &gt;= #{activateTimeStart} and left(tvd.created_date,10) &gt;= #{activateTimeStart}
</if> </if>
<if test="activateTimeEnd != null and activateTimeEnd !=''"> <if test="activateTimeEnd != null and activateTimeEnd !=''">
and left(td.activate_time,10) &lt;= #{activateTimeEnd} and left(tvd.created_date,10) &lt;= #{activateTimeEnd}
</if> </if>
<if test="deviceType != null"> <if test="deviceType != null">
and td.source = #{deviceType} and td.source = #{deviceType}
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
<if test="vehicleUsages != null"> <if test="vehicleUsages != null">
and tv.vehicle_usages = #{vehicleUsages} and tv.vehicle_usages = #{vehicleUsages}
</if> </if>
order by td.activate_time desc,tv.id,tvd.id order by tvd.created_date desc,tv.id,tvd.id
</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"
...@@ -395,7 +395,7 @@ ...@@ -395,7 +395,7 @@
concat(tv.sub_brand_name,'/',tv.series_name,'/',tv.type_name) end modelName, concat(tv.sub_brand_name,'/',tv.series_name,'/',tv.type_name) end modelName,
tv.vehicle_type , tv.vehicle_type ,
tv.vehicle_usages , tv.vehicle_usages ,
td.activate_time , tvd.created_date ,
ddf.`status` AS freqStatus , ddf.`status` AS freqStatus ,
tv.created_by as createdBy tv.created_by as createdBy
from t_vehicle tv from t_vehicle tv
...@@ -416,10 +416,10 @@ ...@@ -416,10 +416,10 @@
) )
</if> </if>
<if test="activateTimeStart != null and activateTimeStart !=''"> <if test="activateTimeStart != null and activateTimeStart !=''">
and left(td.activate_time,10) &gt;= #{activateTimeStart} and left(tvd.created_date,10) &gt;= #{activateTimeStart}
</if> </if>
<if test="activateTimeEnd != null and activateTimeEnd !=''"> <if test="activateTimeEnd != null and activateTimeEnd !=''">
and left(td.activate_time,10) &lt;= #{activateTimeEnd} and left(tvd.created_date,10) &lt;= #{activateTimeEnd}
</if> </if>
<if test="deviceType != null"> <if test="deviceType != null">
and td.source = #{deviceType} and td.source = #{deviceType}
...@@ -430,7 +430,7 @@ ...@@ -430,7 +430,7 @@
<if test="vehicleUsages != null"> <if test="vehicleUsages != null">
and tv.vehicle_usages = #{vehicleUsages} and tv.vehicle_usages = #{vehicleUsages}
</if> </if>
order by td.activate_time desc,tv.id,tvd.id order by tvd.created_date desc,tv.id,tvd.id
</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!