Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-finance
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-finance
Commits
6696f2a1
Commit
6696f2a1
authored
Jul 16, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到账金额不能超过计划金额
parent
5f95d0fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TransferAccountsApprovalApiServiceImpl.java
...ce/outer/impl/TransferAccountsApprovalApiServiceImpl.java
+4
-0
No files found.
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/TransferAccountsApprovalApiServiceImpl.java
View file @
6696f2a1
...
@@ -154,6 +154,10 @@ public class TransferAccountsApprovalApiServiceImpl implements TransferAccountsA
...
@@ -154,6 +154,10 @@ public class TransferAccountsApprovalApiServiceImpl implements TransferAccountsA
if
(
accountAmount
==
null
)
{
if
(
accountAmount
==
null
)
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"到账金额不能为空"
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"到账金额不能为空"
);
}
}
if
(
tab
.
getPlannedAmount
()
<
accountAmount
)
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"到账金额不能超过计划金额"
);
}
TransferAccountsApprovalDTO
dto
=
new
TransferAccountsApprovalDTO
();
TransferAccountsApprovalDTO
dto
=
new
TransferAccountsApprovalDTO
();
dto
.
setTransferApprovalId
(
transferApprovalId
);
dto
.
setTransferApprovalId
(
transferApprovalId
);
dto
.
setAccountAmount
(
accountAmount
);
dto
.
setAccountAmount
(
accountAmount
);
...
...
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