Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
d4798453
Commit
d4798453
authored
Jul 31, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 大屏界面 全局搜索优化
parent
151f2366
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
TDeviceInfoMapper.xml
...em/src/main/resources/mapper/system/TDeviceInfoMapper.xml
+4
-2
No files found.
zh-baseversion-system/src/main/resources/mapper/system/TDeviceInfoMapper.xml
View file @
d4798453
...
...
@@ -119,7 +119,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a2.detector_type,
a2.detector_status FROM t_detector_user a1
LEFT JOIN t_detector_info a2 ON a1.user_id = a2.user_id AND a2.is_del = '0'
where a1.is_del = '0' and a1.longitude is not null and a1.latitude is not null) a
where a1.is_del = '0'
<if
test=
"name != null and name != ''"
>
and a1.nick_name like concat('%', #{name}, '%')
</if>
and a1.longitude is not null and a1.latitude is not null) a
group by a.user_id,a.detector_type
) t1 left join (
...
...
@@ -135,7 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where b2.is_del = '0' and b3.is_del = '0' ) b
group by b.user_id,b.detector_type
) t2 on t2.userId = t1.userId
<if
test=
"name != null and name != ''"
>
where t1.nickName like concat('%', #{name}, '%')
</if>
UNION
) t2 on t2.userId = t1.userId UNION
SELECT
video_manager_id AS id,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment