Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QG
customer-service
Commits
c9ef7b47
Commit
c9ef7b47
authored
Mar 16, 2020
by
王向伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加userRepayType枚举
parent
cb3f3acd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
3 deletions
+29
-3
UserRepayType.java
...main/java/cn/quantgroup/customer/enums/UserRepayType.java
+25
-0
Repayment.java
...in/java/cn/quantgroup/customer/model/order/Repayment.java
+2
-1
XyqbServiceImpl.java
.../cn/quantgroup/customer/service/impl/XyqbServiceImpl.java
+2
-2
No files found.
src/main/java/cn/quantgroup/customer/enums/UserRepayType.java
0 → 100644
View file @
c9ef7b47
package
cn
.
quantgroup
.
customer
.
enums
;
/**
* @author Wang Xiangwei
* @version 2020/3/16
*/
public
enum
UserRepayType
{
EXTRA_FEE
(
"额外费用,收和保费"
),
COMMON
(
"普通还款"
),
PART_REPAY
(
"部分还款"
),
WX_REPAY
(
"微信还款"
),
WX_PROXY_REPAY
(
"微信代还"
),
FUND_REPAY
(
"资金方还款"
),
FUND_WITHHOLD
(
"资金方代扣"
),
SELF_WITHHOLD
(
"我方发起代扣"
),
SETTLE_REPAY
(
"提前结清"
),
OFFLINE_REPAY
(
"支付宝线下还款"
),
CHANNEL_REPAY_AFTER_COMPENSATION
(
"渠道代偿后还款"
),
OFFLINE_REPAY_NEW
(
"线下还款"
)
;
String
desc
;
UserRepayType
(
String
desc
)
{
this
.
desc
=
desc
;
}}
src/main/java/cn/quantgroup/customer/model/order/Repayment.java
View file @
c9ef7b47
package
cn
.
quantgroup
.
customer
.
model
.
order
;
import
cn.quantgroup.customer.enums.UserRepayType
;
import
cn.quantgroup.customer.util.DateUtil
;
import
lombok.Data
;
...
...
@@ -133,7 +134,7 @@ public class Repayment {
}
repayment
.
setRepaymentStatus
(
repayStatus
);
repayment
.
setRepayType
(
repaymentPlanItem
.
getRepaymentTyp
e
());
repayment
.
setRepayType
(
UserRepayType
.
valueOf
(
repaymentPlanItem
.
getRepaymentType
()).
nam
e
());
repayment
.
setOverdueDays
(
repaymentPlanItem
.
getOverdueDays
());
return
repayment
;
...
...
src/main/java/cn/quantgroup/customer/service/impl/XyqbServiceImpl.java
View file @
c9ef7b47
...
...
@@ -34,7 +34,7 @@ public class XyqbServiceImpl implements IXyqbService {
private
String
xyqbSysUrl
;
@Value
(
"${
clotho.api.http
}"
)
@Value
(
"${
fund.pay.api-host
}"
)
private
String
clothoSysUrl
;
private
final
IHttpService
httpService
;
...
...
@@ -101,7 +101,7 @@ public class XyqbServiceImpl implements IXyqbService {
public
JsonResult
<
List
<
FlowNode
>>
findFlowChart
(
String
orderNo
)
{
String
logPre
=
"XyqbServiceImpl.findFlowChart"
;
log
.
info
(
"{} 流程日志查询 orderNo={}"
,
logPre
,
orderNo
);
String
url
=
xyqb
SysUrl
+
"/excustomer_sys/query/flow"
;
String
url
=
clotho
SysUrl
+
"/excustomer_sys/query/flow"
;
if
(
StringUtils
.
isEmpty
(
orderNo
))
{
log
.
error
(
"{} 申请订单号为空 orderNo={}"
,
logPre
,
orderNo
);
return
JsonResult
.
buildErrorStateResult
(
"申请订单号为空"
,
null
);
...
...
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