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
9ef89afa
Commit
9ef89afa
authored
Oct 22, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:(jg) :监管单位统计信息导出列表报错问题处理
parent
e1935976
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TzsTwoStaffingController.java
...t/module/tcm/biz/controller/TzsTwoStaffingController.java
+1
-2
TzsUserInfoServiceImpl.java
...t/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
+2
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/TzsTwoStaffingController.java
View file @
9ef89afa
...
@@ -104,8 +104,7 @@ public class TzsTwoStaffingController extends BaseController {
...
@@ -104,8 +104,7 @@ public class TzsTwoStaffingController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/exportData"
)
@GetMapping
(
value
=
"/exportData"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"监管单位统计信息导出"
,
notes
=
"监管单位统计信息导出"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"监管单位统计信息导出"
,
notes
=
"监管单位统计信息导出"
)
public
void
exportData
(
HttpServletResponse
response
,
public
void
exportData
(
HttpServletResponse
response
,
@RequestParam
(
value
=
"sequenceNbr"
,
required
=
false
)
String
sequenceNbr
,
@RequestParam
(
"sequenceNbr"
)
String
sequenceNbr
,
@RequestParam
(
"type"
)
String
type
)
{
@RequestParam
(
"type"
)
String
type
)
{
List
<
LinkedHashMap
>
data
=
(
List
<
LinkedHashMap
>)
redisUtils
.
get
(
REGULATOR_UNIT_TREE
);
List
<
LinkedHashMap
>
data
=
(
List
<
LinkedHashMap
>)
redisUtils
.
get
(
REGULATOR_UNIT_TREE
);
ArrayList
<
LinkedHashMap
>
result
=
new
ArrayList
<>();
ArrayList
<
LinkedHashMap
>
result
=
new
ArrayList
<>();
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
View file @
9ef89afa
...
@@ -1024,7 +1024,8 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -1024,7 +1024,8 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
if
(!
ObjectUtils
.
isEmpty
(
result
))
{
if
(!
ObjectUtils
.
isEmpty
(
result
))
{
return
result
;
return
result
;
}
}
List
<
LinkedHashMap
>
list
=
data
.
stream
().
filter
(
item
->
item
.
get
(
"sequenceNbr"
).
toString
().
equals
(
id
)).
collect
(
Collectors
.
toList
());
List
<
LinkedHashMap
>
list
=
data
.
stream
().
filter
(
item
->
Objects
.
equals
(
item
.
get
(
"sequenceNbr"
),
id
))
.
collect
(
Collectors
.
toList
());
if
(!
ObjectUtils
.
isEmpty
(
list
))
{
if
(!
ObjectUtils
.
isEmpty
(
list
))
{
return
list
;
return
list
;
}
}
...
...
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