Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
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
QG
cash-loan-flow-boss
Commits
0c27a4d3
Commit
0c27a4d3
authored
Nov 04, 2019
by
suntao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次风控 productType x 修改
parent
a2e7d3c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
OrderServiceImpl.java
.../cashloanflowboss/api/order/service/OrderServiceImpl.java
+11
-7
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/order/service/OrderServiceImpl.java
View file @
0c27a4d3
...
...
@@ -335,18 +335,22 @@ public class OrderServiceImpl implements OrderService{
log
.
info
(
"[secendAudit]二次风控失败,未找到user channelOrderNumber={}"
,
channelOrderNumber
);
return
new
Tuple
<>(
false
,
"二次风控失败,未找到user"
);
}
ChannelConf
channelConf
=
channelConfRepository
.
getByChannelId
(
orderMapping
.
getRegisteredFrom
());
if
(
channelConf
==
null
)
{
log
.
info
(
"[secendAudit]二次风控失败,未找到channelConf配置 channelOrderNumber={}"
,
channelOrderNumber
);
return
new
Tuple
<>(
false
,
"二次风控失败,未找到channelConf配置"
);
}
LoanApplicationHistory
loanApplicationHistory
=
xyqbCenterService
.
findLoanApplicationHistoryById
(
orderMapping
.
getLoanId
());
if
(
LoanProgress
.
START_ORDER
.
equals
(
loanApplicationHistory
.
getProgress
()))
{
ClfChannelConfiguration
clfChannelConfiguration
=
clfCenterService
.
findChannelConfigurationByChannelId
(
orderMapping
.
getRegisteredFrom
());
if
(
clfChannelConfiguration
==
null
)
{
return
new
Tuple
(
false
,
"二次风控失败,clfChannelConfiguration渠道配置为空"
);
}
QuotaProduct
quotaProduct
=
xyqbCenterService
.
getXyqbProduct
(
clfChannelConfiguration
.
getXyqbProductId
());
if
(
quotaProduct
==
null
)
{
return
new
Tuple
(
false
,
"二次风控失败,xyqb.quota_product配置为空("
.
concat
(
clfChannelConfiguration
.
getXyqbProductId
()).
concat
(
")"
));
}
// 50
log
.
info
(
"[secendAudit]二次风控发起,channelOrderNumber={}, bizType={}"
,
channelOrderNumber
,
channelConf
.
getBiz
Type
());
result
=
clothoCenterService
.
orderAuditNotify
(
xUser
.
getUuid
(),
orderMapping
.
getLoanId
(),
true
,
channelConf
.
getBiz
Type
());
log
.
info
(
"[secendAudit]二次风控发起,channelOrderNumber={}, bizType={}"
,
channelOrderNumber
,
quotaProduct
.
getProduct
Type
());
result
=
clothoCenterService
.
orderAuditNotify
(
xUser
.
getUuid
(),
orderMapping
.
getLoanId
(),
true
,
quotaProduct
.
getProduct
Type
());
if
(
result
)
{
log
.
info
(
"[secendAudit]二次风控成功,channelOrderNumber={}, result={}"
,
channelOrderNumber
,
result
);
}
else
{
...
...
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