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
48324f78
Commit
48324f78
authored
Dec 10, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(大屏):获取本级及子级区域code
parent
74d8bde2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
StCommonServiceImpl.java
...odule/statistcs/biz/service/impl/StCommonServiceImpl.java
+2
-3
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/StCommonServiceImpl.java
View file @
48324f78
...
@@ -577,9 +577,8 @@ public class StCommonServiceImpl {
...
@@ -577,9 +577,8 @@ public class StCommonServiceImpl {
* @return 本级及子级区域code
* @return 本级及子级区域code
*/
*/
public
String
getSelfAndChildRegion
(
RegionModel
region
)
{
public
String
getSelfAndChildRegion
(
RegionModel
region
)
{
return
Stream
.
concat
(
Stream
.
of
(
region
.
getRegionCode
()),
region
.
getChildren
()
==
null
?
Stream
.
empty
()
:
return
getRegionTree3Level
(
region
.
getRegionCode
()).
stream
()
region
.
getChildren
().
stream
().
flatMap
(
child
->
.
map
(
RegionModel:
:
getRegionCode
)
Arrays
.
stream
(
getSelfAndChildRegion
(
child
).
split
(
","
)).
map
(
Integer:
:
parseInt
)))
.
map
(
String:
:
valueOf
)
.
map
(
String:
:
valueOf
)
.
collect
(
Collectors
.
joining
(
","
));
.
collect
(
Collectors
.
joining
(
","
));
}
}
...
...
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