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 2110f62e
authored
Jun 01, 2021
by
黄小葱
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
672e8dd8
ba4b56b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/VehicleMapper.xml
View file @
2110f62
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
</select>
</select>
<select
id=
"searchTearDownAlarmList"
resultMap=
"TearDownAlarmMap"
>
<select
id=
"searchTearDownAlarmList"
resultMap=
"TearDownAlarmMap"
>
SELECT
SELECT
distinct
ttds.area,
ttds.area,
ttds.province,
ttds.province,
ttds.city,
ttds.city,
...
@@ -149,9 +149,10 @@
...
@@ -149,9 +149,10 @@
tv.created_by
tv.created_by
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_trial_drive_shop ttds on ttds.created_by = tvd.created_by
left join t_electric_fence_sns tefs on tefs.sn = tvd.sn
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
left join t_user tu on tu.id = tv.created_by
where tvd.del_flag = 0 and tvd.bind_status = 1 and tu.del_flag = 0
where tv
.del_flag = 0 and tv
d.del_flag = 0 and tvd.bind_status = 1 and tu.del_flag = 0
<if
test=
"keywords != null and keywords !=''"
>
<if
test=
"keywords != null and keywords !=''"
>
and (
and (
tu.username like '%${keywords}%'
tu.username like '%${keywords}%'
...
...
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