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
f29dd22a
Commit
f29dd22a
authored
Apr 02, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提现申请返回流水单号
parent
f0d4f40b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
CashWithdrawalApiService.java
...ava/com/gic/finance/service/CashWithdrawalApiService.java
+4
-4
CashWithdrawalApiServiceImpl.java
...ance/service/outer/impl/CashWithdrawalApiServiceImpl.java
+4
-4
No files found.
gic-platform-finance-api/src/main/java/com/gic/finance/service/CashWithdrawalApiService.java
View file @
f29dd22a
...
@@ -20,9 +20,9 @@ public interface CashWithdrawalApiService {
...
@@ -20,9 +20,9 @@ public interface CashWithdrawalApiService {
* @Description:
* @Description:
* @author guojuxing
* @author guojuxing
* @param dto
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
String> 提现申请单号
*/
*/
ServiceResponse
<
Void
>
cashWithdrawalOfServiceProvider
(
CashWithdrawalDTO
dto
);
ServiceResponse
<
String
>
cashWithdrawalOfServiceProvider
(
CashWithdrawalDTO
dto
);
/**
/**
* 提现申请--供应商
* 提现申请--供应商
...
@@ -30,9 +30,9 @@ public interface CashWithdrawalApiService {
...
@@ -30,9 +30,9 @@ public interface CashWithdrawalApiService {
* @Description:
* @Description:
* @author guojuxing
* @author guojuxing
* @param dto
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
String> 提现申请单号
*/
*/
ServiceResponse
<
Void
>
cashWithdrawalOfSupplier
(
CashWithdrawalDTO
dto
);
ServiceResponse
<
String
>
cashWithdrawalOfSupplier
(
CashWithdrawalDTO
dto
);
/**
/**
* 审核通过
* 审核通过
...
...
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/CashWithdrawalApiServiceImpl.java
View file @
f29dd22a
...
@@ -39,7 +39,7 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
...
@@ -39,7 +39,7 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
* @param dto
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
*/
private
ServiceResponse
<
Void
>
cashWithdrawal
(
CashWithdrawalDTO
dto
)
{
private
ServiceResponse
<
String
>
cashWithdrawal
(
CashWithdrawalDTO
dto
)
{
ServiceResponse
paramValid
=
ValidParamsUtils
.
allCheckValidate
(
dto
,
CashWithdrawalDTO
.
CashWithdrawal
.
class
);
ServiceResponse
paramValid
=
ValidParamsUtils
.
allCheckValidate
(
dto
,
CashWithdrawalDTO
.
CashWithdrawal
.
class
);
if
(!
paramValid
.
isSuccess
())
{
if
(!
paramValid
.
isSuccess
())
{
return
paramValid
;
return
paramValid
;
...
@@ -50,17 +50,17 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
...
@@ -50,17 +50,17 @@ public class CashWithdrawalApiServiceImpl implements CashWithdrawalApiService{
//流水号
//流水号
dto
.
setCashWithdrawalSerialNumber
(
CreateSerialNumberUtils
.
createSerialNumber
());
dto
.
setCashWithdrawalSerialNumber
(
CreateSerialNumberUtils
.
createSerialNumber
());
cashWithdrawalService
.
save
(
dto
);
cashWithdrawalService
.
save
(
dto
);
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
(
dto
.
getCashWithdrawalSerialNumber
()
);
}
}
@Override
@Override
public
ServiceResponse
<
Void
>
cashWithdrawalOfServiceProvider
(
CashWithdrawalDTO
dto
)
{
public
ServiceResponse
<
String
>
cashWithdrawalOfServiceProvider
(
CashWithdrawalDTO
dto
)
{
dto
.
setApplyType
(
WithdrawalApplyTypeEnum
.
SERVICE_PROVIDER
.
getCode
());
dto
.
setApplyType
(
WithdrawalApplyTypeEnum
.
SERVICE_PROVIDER
.
getCode
());
return
cashWithdrawal
(
dto
);
return
cashWithdrawal
(
dto
);
}
}
@Override
@Override
public
ServiceResponse
<
Void
>
cashWithdrawalOfSupplier
(
CashWithdrawalDTO
dto
)
{
public
ServiceResponse
<
String
>
cashWithdrawalOfSupplier
(
CashWithdrawalDTO
dto
)
{
dto
.
setApplyType
(
WithdrawalApplyTypeEnum
.
SUPPLIER
.
getCode
());
dto
.
setApplyType
(
WithdrawalApplyTypeEnum
.
SUPPLIER
.
getCode
());
return
cashWithdrawal
(
dto
);
return
cashWithdrawal
(
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