Commit 7122c320 by 杨林龙

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

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