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 563c3005
authored
Jun 01, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改获取特约店名称和特约店代码的获取方式
1 parent
3be1cd67
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/main/java/cn/com/glsx/admin/modules/mapper/VehicleMapper.java
src/main/resources/mapper/VehicleMapper.xml
src/main/java/cn/com/glsx/admin/modules/mapper/VehicleMapper.java
View file @
563c300
...
@@ -27,7 +27,7 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
...
@@ -27,7 +27,7 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
* @param keyWord
* @param keyWord
* @return
* @return
*/
*/
@DataPerm
(
showSql
=
true
)
List
<
TearDownModelExport
>
searchTearDownAlarmList
(
@Param
(
"keyWord"
)
String
keyWord
);
List
<
TearDownModelExport
>
searchTearDownAlarmList
(
@Param
(
"keyWord"
)
String
keyWord
);
/**
/**
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
563c300
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
<result
column=
"area"
jdbcType=
"VARCHAR"
property=
"area"
/>
<result
column=
"area"
jdbcType=
"VARCHAR"
property=
"area"
/>
<result
column=
"province"
jdbcType=
"VARCHAR"
property=
"province"
/>
<result
column=
"province"
jdbcType=
"VARCHAR"
property=
"province"
/>
<result
column=
"city"
jdbcType=
"VARCHAR"
property=
"city"
/>
<result
column=
"city"
jdbcType=
"VARCHAR"
property=
"city"
/>
<result
column=
"
shop_
name"
jdbcType=
"VARCHAR"
property=
"shopName"
/>
<result
column=
"
user
name"
jdbcType=
"VARCHAR"
property=
"shopName"
/>
<result
column=
"
shop_code
"
jdbcType=
"VARCHAR"
property=
"shopCode"
/>
<result
column=
"
account
"
jdbcType=
"VARCHAR"
property=
"shopCode"
/>
<result
column=
"shop_level"
jdbcType=
"INTEGER"
property=
"shopLevel"
/>
<result
column=
"shop_level"
jdbcType=
"INTEGER"
property=
"shopLevel"
/>
<result
column=
"model_name"
jdbcType=
"VARCHAR"
property=
"modelName"
/>
<result
column=
"model_name"
jdbcType=
"VARCHAR"
property=
"modelName"
/>
<result
column=
"config_desc"
jdbcType=
"INTEGER"
property=
"configDesc"
/>
<result
column=
"config_desc"
jdbcType=
"INTEGER"
property=
"configDesc"
/>
...
@@ -127,8 +127,8 @@
...
@@ -127,8 +127,8 @@
ttds.area,
ttds.area,
ttds.province,
ttds.province,
ttds.city,
ttds.city,
t
tds.shop_
name,
t
u.user
name,
t
tds.shop_code
,
t
u.account
,
ttds.shop_level,
ttds.shop_level,
tv.model_name,
tv.model_name,
tv.config_desc,
tv.config_desc,
...
@@ -136,9 +136,9 @@
...
@@ -136,9 +136,9 @@
tvd.sn
tvd.sn
FROM t_vehicle tv
FROM t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_
electric_fence_sns tefs on tefs.sn = tvd.sn
left join t_
trial_drive_shop ttds on ttds.created_by = tvd.created_by
left join t_
trial_drive_shop ttds on ttds.fence_id = tefs.fence_id
left join t_
user tu on tu.id = tv.created_by
where tv.del_flag = 0 and tvd.bind_status = 1
where tv
d
.del_flag = 0 and tvd.bind_status = 1
<if
test=
"keyWord != null and keyWord !=''"
>
<if
test=
"keyWord != null and keyWord !=''"
>
and (
and (
ttds.shop_code like '%${keyWord}%'
ttds.shop_code like '%${keyWord}%'
...
...
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