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 abbaa71e
authored
Mar 04, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
组织树查询bug修复-节点下面没有用户时导致全量数据返回
1 parent
b81d487a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleMonitorSevice.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleMonitorSevice.java
View file @
abbaa71
...
@@ -146,11 +146,13 @@ public class VehicleMonitorSevice {
...
@@ -146,11 +146,13 @@ public class VehicleMonitorSevice {
List
<
Long
>
userIdList
=
Lists
.
newArrayList
();
List
<
Long
>
userIdList
=
Lists
.
newArrayList
();
userIdSet
.
forEach
(
uid
->
{
userIdSet
.
forEach
(
uid
->
userIdList
.
add
(
Long
.
valueOf
(
uid
.
replace
(
"u"
,
""
))));
userIdList
.
add
(
Long
.
valueOf
(
uid
.
replace
(
"u"
,
""
)));
});
sw
.
stop
();
sw
.
stop
();
if
(
CollectionUtils
.
isEmpty
(
userIdList
))
{
return
Lists
.
newArrayList
();
}
sw
.
start
(
"task2"
);
sw
.
start
(
"task2"
);
VehicleTreeSearch
vtSearch
=
new
VehicleTreeSearch
();
VehicleTreeSearch
vtSearch
=
new
VehicleTreeSearch
();
vtSearch
.
setUserIds
(
userIdList
);
vtSearch
.
setUserIds
(
userIdList
);
...
...
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