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
f84eb76a
Commit
f84eb76a
authored
Jul 07, 2020
by
王向伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复业务类型为空时存"null"的问题
parent
b786a5c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ChannelConfUtil.java
...up/cashloanflowboss/api/channel/util/ChannelConfUtil.java
+7
-1
OrderServiceImpl.java
.../cashloanflowboss/api/order/service/OrderServiceImpl.java
+0
-2
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/channel/util/ChannelConfUtil.java
View file @
f84eb76a
...
...
@@ -9,6 +9,7 @@ import cn.quantgroup.cashloanflowboss.spi.clf.model.EncType;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Objects
;
import
cn.quantgroup.cashloanflowboss.api.channel.entity.ChannelConf
;
import
cn.quantgroup.cashloanflowboss.api.channel.model.ChannelConfAddModel
;
...
...
@@ -77,7 +78,12 @@ public class ChannelConfUtil {
channelConfiguration
.
setMd5Key
(
basicInfo
.
getMd5Key
());
channelConfiguration
.
setSpiderCenterChannelCode
(
basicInfo
.
getRiskCode
());
channelConfiguration
.
setSpiderCenterMerchantChannelCode
(
basicInfo
.
getAuthCode
());
channelConfiguration
.
setXyqbProductId
(
basicInfo
.
getBizType
()+
""
);
if
(
Objects
.
nonNull
(
basicInfo
.
getBizType
())){
channelConfiguration
.
setXyqbProductId
(
basicInfo
.
getBizType
()+
""
);
}
else
{
channelConfiguration
.
setXyqbProductId
(
null
);
}
return
channelConfiguration
;
}
...
...
src/main/java/cn/quantgroup/cashloanflowboss/api/order/service/OrderServiceImpl.java
View file @
f84eb76a
...
...
@@ -221,11 +221,9 @@ public class OrderServiceImpl implements OrderService {
BigDecimal
fundRate
=
getFundRate
(
orderMapping
.
getApplyNo
());
String
fundFormat
=
null
;
if
(
Objects
.
isNull
(
fundRate
)){
fundFormat
=
String
.
format
(
OrderUtil
.
financeProductsFormat
,
approveVo
.
getAmount
(),
approveVo
.
getAmount
(),
approveVo
.
getPeriod
(),
fundId
,
financeProduct
.
getId
());
}
else
{
fundFormat
=
String
.
format
(
OrderUtil
.
financeProductsWithFundRateFormat
,
approveVo
.
getAmount
(),
approveVo
.
getAmount
(),
approveVo
.
getPeriod
(),
fundId
,
fundRate
.
toString
(),
financeProduct
.
getId
());
}
...
...
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