Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
Overview
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
base_platform_enterprise
gic-platform-enterprise
Commits
3db7ad1b
Commit
3db7ad1b
authored
May 21, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发票列表接口修复
parent
5706ac51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
BillingPayInfoController.java
...c/enterprise/web/controller/BillingPayInfoController.java
+8
-2
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/BillingPayInfoController.java
View file @
3db7ad1b
...
...
@@ -102,8 +102,14 @@ public class BillingPayInfoController {
ServiceResponse
<
List
<
TransferAccountsApprovalDTO
>>
approvalResponse
=
transferAccountsApprovalApiService
.
listByOrderSerialNumber
(
orderSerialNumberList
);
if
(
approvalResponse
.
isSuccess
())
{
badMoneyMap
=
approvalResponse
.
getResult
().
stream
().
filter
(
e
->
e
.
getApprovalStatus
()
==
TransferAccountApprovalStatusEnum
.
AGREE
.
getCode
())
.
collect
(
Collectors
.
toMap
(
e
->
e
.
getOrderNumber
(),
e
->
e
.
getBadAmount
(),
(
oldValue
,
newValue
)
->
newValue
));
List
<
TransferAccountsApprovalDTO
>
transferAccountsApprovalDTOS
=
approvalResponse
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
transferAccountsApprovalDTOS
))
{
badMoneyMap
=
transferAccountsApprovalDTOS
.
stream
().
filter
(
e
->
e
.
getApprovalStatus
()
==
TransferAccountApprovalStatusEnum
.
AGREE
.
getCode
())
.
collect
(
Collectors
.
toMap
(
e
->
e
.
getOrderNumber
(),
e
->
e
.
getBadAmount
(),
(
oldValue
,
newValue
)
->
newValue
));
}
else
{
badMoneyMap
=
new
HashMap
<>(
2
);
}
}
else
{
badMoneyMap
=
new
HashMap
<>(
2
);
}
...
...
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