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
5788889a
Commit
5788889a
authored
Aug 03, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.圣元生产环境大屏bug
parent
fdc3e377
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
CylinderFillingMessageService.java
...e/cylinder/api/service/CylinderFillingMessageService.java
+8
-6
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/java/com/yeejoin/amos/boot/module/cylinder/api/service/CylinderFillingMessageService.java
View file @
5788889a
...
...
@@ -35,12 +35,14 @@ public class CylinderFillingMessageService extends BaseService<CylinderFillingMe
Page
<
CylinderFillingMessageModel
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
IPage
<
CylinderFillingMessageModel
>
uploadCylinderLogsByOrgCode
=
getUploadCylinderLogsByOrgCode
(
page
,
result
.
getOrgCode
());
List
<
String
>
appIds
=
uploadCylinderLogsByOrgCode
.
getRecords
().
stream
().
map
(
CylinderFillingMessageModel:
:
getAppId
).
collect
(
Collectors
.
toList
()).
stream
().
filter
(
x
->
!
ValidationUtil
.
isEmpty
(
x
)).
distinct
().
collect
(
Collectors
.
toList
());
List
<
TzBaseEnterpriseInfoDto
>
tzBaseEnterpriseInfoDtos
=
iTzBaseEnterpriseInfoService
.
queryByAppId
(
appIds
);
if
(!
ValidationUtil
.
isEmpty
(
tzBaseEnterpriseInfoDtos
)){
Map
<
String
,
String
>
map
=
tzBaseEnterpriseInfoDtos
.
stream
().
collect
(
Collectors
.
toMap
(
TzBaseEnterpriseInfoDto:
:
getAppId
,
TzBaseEnterpriseInfoDto:
:
getUseUnitCode
));
uploadCylinderLogsByOrgCode
.
getRecords
().
stream
().
forEach
(
x
->
{
x
.
setUseUnitCode
(
map
.
get
(
x
.
getAppId
()));
});
if
(
appIds
.
size
()
>
0
){
List
<
TzBaseEnterpriseInfoDto
>
tzBaseEnterpriseInfoDtos
=
iTzBaseEnterpriseInfoService
.
queryByAppId
(
appIds
);
if
(!
ValidationUtil
.
isEmpty
(
tzBaseEnterpriseInfoDtos
)){
Map
<
String
,
String
>
map
=
tzBaseEnterpriseInfoDtos
.
stream
().
collect
(
Collectors
.
toMap
(
TzBaseEnterpriseInfoDto:
:
getAppId
,
TzBaseEnterpriseInfoDto:
:
getUseUnitCode
));
uploadCylinderLogsByOrgCode
.
getRecords
().
forEach
(
x
->
{
x
.
setUseUnitCode
(
map
.
get
(
x
.
getAppId
()));
});
}
}
return
page
;
}
...
...
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