Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7122c320
authored
Dec 27, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改车辆查询列表激活时间参数显示
1 parent
d41c0709
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/VehicleMapper.xml
View file @
7122c32
...
@@ -366,10 +366,10 @@
...
@@ -366,10 +366,10 @@
)
)
</if>
</if>
<if
test=
"activateTimeStart != null and activateTimeStart !=''"
>
<if
test=
"activateTimeStart != null and activateTimeStart !=''"
>
and left(t
d.activate_tim
e,10)
>
= #{activateTimeStart}
and left(t
vd.created_dat
e,10)
>
= #{activateTimeStart}
</if>
</if>
<if
test=
"activateTimeEnd != null and activateTimeEnd !=''"
>
<if
test=
"activateTimeEnd != null and activateTimeEnd !=''"
>
and left(t
d.activate_tim
e,10)
<
= #{activateTimeEnd}
and left(t
vd.created_dat
e,10)
<
= #{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 t
d.activate_tim
e desc,tv.id,tvd.id
order by t
vd.created_dat
e 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 ,
t
d.activate_tim
e ,
t
vd.created_dat
e ,
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(t
d.activate_tim
e,10)
>
= #{activateTimeStart}
and left(t
vd.created_dat
e,10)
>
= #{activateTimeStart}
</if>
</if>
<if
test=
"activateTimeEnd != null and activateTimeEnd !=''"
>
<if
test=
"activateTimeEnd != null and activateTimeEnd !=''"
>
and left(t
d.activate_tim
e,10)
<
= #{activateTimeEnd}
and left(t
vd.created_dat
e,10)
<
= #{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 t
d.activate_tim
e desc,tv.id,tvd.id
order by t
vd.created_dat
e 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"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment