Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
fe037c82
Commit
fe037c82
authored
Jun 19, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加应用分类列表
parent
df72b110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
base-manager/src/main/java/com/mortals/xhx/module/site/model/SiteTreeSelect.java
...ava/com/mortals/xhx/module/site/model/SiteTreeSelect.java
+4
-2
No files found.
base-manager/src/main/java/com/mortals/xhx/module/site/model/SiteTreeSelect.java
View file @
fe037c82
...
@@ -114,13 +114,15 @@ public class SiteTreeSelect implements Serializable {
...
@@ -114,13 +114,15 @@ public class SiteTreeSelect implements Serializable {
this
.
type
=
"site"
;
this
.
type
=
"site"
;
this
.
icon
=
"el-icon-wind-power"
;
this
.
icon
=
"el-icon-wind-power"
;
this
.
detailAddress
=
collect
.
stream
().
map
(
item
->
item
.
getDetailAddress
()).
collect
(
Collectors
.
joining
(
","
));
this
.
detailAddress
=
collect
.
stream
().
map
(
item
->
item
.
getDetailAddress
()).
collect
(
Collectors
.
joining
(
","
));
this
.
longitude
=
collect
.
stream
().
findFirst
().
map
(
item
->
item
.
getLongitude
()).
orElseGet
(()
->
""
);
this
.
areaCode
=
collect
.
stream
().
map
(
item
->
item
.
getAreaCode
()).
collect
(
Collectors
.
joining
(
","
));
this
.
latitude
=
collect
.
stream
().
findFirst
().
map
(
item
->
item
.
getLatitude
()).
orElseGet
(()
->
""
);
this
.
longitude
=
collect
.
stream
().
map
(
item
->
item
.
getLongitude
()).
collect
(
Collectors
.
joining
(
","
));
this
.
latitude
=
collect
.
stream
().
map
(
item
->
item
.
getLatitude
()).
collect
(
Collectors
.
joining
(
","
));
}
else
{
}
else
{
this
.
id
=
entity
.
getIid
();
this
.
id
=
entity
.
getIid
();
this
.
label
=
entity
.
getName
();
this
.
label
=
entity
.
getName
();
this
.
type
=
"area"
;
this
.
type
=
"area"
;
this
.
icon
=
"el-icon-place"
;
this
.
icon
=
"el-icon-place"
;
this
.
areaCode
=
entity
.
getAreaCode
();
}
}
this
.
level
=
entity
.
getAreaLevel
();
this
.
level
=
entity
.
getAreaLevel
();
if
(
"False"
.
equalsIgnoreCase
(
entity
.
getHaveSonArea
()))
{
if
(
"False"
.
equalsIgnoreCase
(
entity
.
getHaveSonArea
()))
{
...
...
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