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
cd1f3e1e
Commit
cd1f3e1e
authored
May 25, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已取消的不能审批
parent
153e81ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CashWithdrawalApiServiceImpl.java
...ance/service/outer/impl/CashWithdrawalApiServiceImpl.java
+7
-0
No files found.
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/CashWithdrawalApiServiceImpl.java
View file @
cd1f3e1e
...
@@ -89,6 +89,9 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
...
@@ -89,6 +89,9 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
if
(
record
==
null
)
{
if
(
record
==
null
)
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"参数有误,无此记录"
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"参数有误,无此记录"
);
}
}
if
(
record
.
getCashWithdrawalStatus
().
intValue
()
==
WithdrawalStatusEnum
.
CANCEL
.
getCode
())
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"已取消"
);
}
// 操作人相关信息
// 操作人相关信息
getOperationUserInfo
(
record
,
dto
);
getOperationUserInfo
(
record
,
dto
);
...
@@ -115,6 +118,10 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
...
@@ -115,6 +118,10 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
if
(
record
==
null
)
{
if
(
record
==
null
)
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"参数有误,无此记录"
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"参数有误,无此记录"
);
}
}
if
(
record
.
getCashWithdrawalStatus
().
intValue
()
==
WithdrawalStatusEnum
.
CANCEL
.
getCode
())
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"已取消"
);
}
// 操作人相关信息
// 操作人相关信息
getOperationUserInfo
(
record
,
dto
);
getOperationUserInfo
(
record
,
dto
);
...
...
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