Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
483690dc
Commit
483690dc
authored
Aug 03, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
f881b704
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
PointServiceImpl.java
...n/amos/patrol/business/service/impl/PointServiceImpl.java
+2
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PointServiceImpl.java
View file @
483690dc
...
...
@@ -798,17 +798,13 @@ public class PointServiceImpl implements IPointService {
//给前端返回是否绑定标识
Long
[]
longs
=
new
Long
[]{
pointId
};
List
<
RoutePoint
>
list
=
iRoutePointDao
.
queryRoutePoint
(
routeId
,
longs
);
List
<
String
>
rouPonintId
=
new
ArrayList
<>();
list
.
forEach
(
e
->
rouPonintId
.
add
(
String
.
valueOf
(
e
.
getId
())));
List
<
String
>
strings
=
iRoutePointItemDao
.
selectByroutePointIds
(
rouPonintId
);
String
ids
=
StringUtils
.
join
(
strings
.
toArray
(),
","
);
String
excludeItems
=
list
.
get
(
0
).
getExcludeItems
();
resList
.
forEach
(
e
->{
if
(
id
s
.
contains
(
e
.
get
(
"itemId"
).
toString
())){
if
(
excludeItem
s
.
contains
(
e
.
get
(
"itemId"
).
toString
())){
e
.
put
(
"checked"
,
false
);
}
else
{
e
.
put
(
"checked"
,
true
);
}
});
return
resList
;
}
...
...
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