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
93412239
Commit
93412239
authored
Jun 11, 2020
by
王向伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
乐信bizType传9
parent
4288075e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
OrderServiceImpl.java
.../cashloanflowboss/api/order/service/OrderServiceImpl.java
+14
-4
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/order/service/OrderServiceImpl.java
View file @
93412239
...
...
@@ -223,10 +223,14 @@ public class OrderServiceImpl implements OrderService{
if
(
clfChannelConfiguration
==
null
)
{
return
new
Tuple
(
false
,
"审批失败,clfChannelConfiguration渠道配置为空"
);
}
QuotaProduct
quotaProduct
=
xyqbCenterService
.
getXyqbProduct
(
clfChannelConfiguration
.
getXyqbProductId
());
QuotaProduct
quotaProduct
=
null
;
if
(!
orderMapping
.
getRegisteredFrom
().
equals
(
159886
)){
quotaProduct
=
xyqbCenterService
.
getXyqbProduct
(
clfChannelConfiguration
.
getXyqbProductId
());
if
(
quotaProduct
==
null
)
{
return
new
Tuple
(
false
,
"审批失败,xyqb.quota_product配置为空("
.
concat
(
clfChannelConfiguration
.
getXyqbProductId
()).
concat
(
")"
));
}
}
Map
<
String
,
Object
>
data
=
getApproveObjectMap
(
approveVo
,
orderMapping
,
xUser
,
fundFormat
,
quotaProduct
);
// 发起审批
log
.
info
(
"[approveOpt] 向clotho发起审批,data={}"
,
JSONTools
.
serialize
(
data
));
...
...
@@ -796,7 +800,13 @@ public class OrderServiceImpl implements OrderService{
data
.
put
(
"bizChannel"
,
orderMapping
.
getRegisteredFrom
());
data
.
put
(
"uuid"
,
xUser
.
getUuid
());
data
.
put
(
"bizNo"
,
orderMapping
.
getApplyNo
());
if
(
Objects
.
isNull
(
quotaProduct
)){
data
.
put
(
"bizType"
,
"9"
);
}
else
{
data
.
put
(
"bizType"
,
quotaProduct
.
getProductType
());
}
data
.
put
(
"auditResult"
,
approveVo
.
getIsPass
());
data
.
put
(
"amount"
,
approveVo
.
getAmount
());
data
.
put
(
"deadLine"
,
getCalendar
().
getTime
().
getTime
());
...
...
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