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
49e7697b
Commit
49e7697b
authored
Dec 11, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(大屏):获取本级及子级区域code
parent
92188651
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
StCommonServiceImpl.java
...odule/statistcs/biz/service/impl/StCommonServiceImpl.java
+5
-2
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 @
49e7697b
...
@@ -577,9 +577,12 @@ public class StCommonServiceImpl {
...
@@ -577,9 +577,12 @@ public class StCommonServiceImpl {
* @return 本级及子级区域code
* @return 本级及子级区域code
*/
*/
public
String
getSelfAndChildRegion
(
RegionModel
region
)
{
public
String
getSelfAndChildRegion
(
RegionModel
region
)
{
return
getRegionTree3Level
(
region
.
getRegionCode
()).
stream
()
return
Stream
.
concat
(
Stream
.
of
(
region
.
getRegionCode
()),
Optional
.
ofNullable
(
region
.
getChildren
())
.
orElse
(
Collections
.
emptyList
())
.
stream
()
.
map
(
RegionModel:
:
getRegionCode
)
.
map
(
RegionModel:
:
getRegionCode
)
.
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