Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
fee8f209
Commit
fee8f209
authored
Apr 23, 2020
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
期数由你我贷给出
parent
ebdee75f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
NiWoDaiController.java
...roup/asset/distribution/controller/NiWoDaiController.java
+3
-3
NiwodaiIncomingResultResponseVO.java
...n/service/niwodai/vo/NiwodaiIncomingResultResponseVO.java
+5
-0
No files found.
src/main/java/com/quantgroup/asset/distribution/controller/NiWoDaiController.java
View file @
fee8f209
...
...
@@ -101,10 +101,10 @@ public class NiWoDaiController {
return
GlobalResponse
.
success
();
}
// 通过了直接通知资金系统
String
finance
=
financeProductService
.
createSingletonFinanceProduct
(
vo
.
getApprovedAmount
().
toString
(),
NiwodaiCostant
.
AUDIT_TERM
,
AidFundConstants
.
FundId
.
NIWODAI
,
null
);
String
finance
=
financeProductService
.
createSingletonFinanceProduct
(
vo
.
getApprovedAmount
().
toString
(),
String
.
valueOf
(
vo
.
getApproveTerm
())
,
AidFundConstants
.
FundId
.
NIWODAI
,
null
);
assetForm
=
financeProductService
.
checkFundResult
(
assetForm
,
finance
,
Long
.
parseLong
(
vo
.
getValidBefore
()));
assetForm
.
setAmount
(
vo
.
getApprovedAmount
().
toString
());
assetForm
.
setTerm
(
NiwodaiCostant
.
AUDIT_TERM
);
assetForm
.
setTerm
(
String
.
valueOf
(
vo
.
getApproveTerm
())
);
notifyService
.
notifyFundServer
(
assetForm
,
dataMap
);
}
log
.
info
(
"你我贷审核进件回调结果处理完成, orderId : {}, type : {}, code : {}, timestamp : {}, data : {}"
,
orderId
,
...
...
@@ -118,7 +118,7 @@ public class NiWoDaiController {
* @return
*/
private
boolean
checkIncomingResult
(
NiwodaiIncomingResultResponseVO
vo
)
{
if
(
vo
==
null
||
vo
.
getApprovedAmount
()
==
null
||
vo
.
getValidBefore
()
==
null
)
{
if
(
vo
==
null
||
vo
.
getApprovedAmount
()
==
null
||
vo
.
getValidBefore
()
==
null
||
vo
.
getApproveTerm
()
==
null
)
{
return
false
;
}
return
true
;
...
...
src/main/java/com/quantgroup/asset/distribution/service/niwodai/vo/NiwodaiIncomingResultResponseVO.java
View file @
fee8f209
...
...
@@ -33,4 +33,9 @@ public class NiwodaiIncomingResultResponseVO implements Serializable {
* 额度有效期
*/
private
String
validBefore
;
/**
* 审批期限
*/
private
Integer
approveTerm
;
}
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