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
dadb83da
Commit
dadb83da
authored
Feb 18, 2022
by
yexiong.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
d0d8c08e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
VccServiceImpl.java
...a/cn/quantgroup/customer/service/impl/VccServiceImpl.java
+7
-7
No files found.
src/main/java/cn/quantgroup/customer/service/impl/VccServiceImpl.java
View file @
dadb83da
...
...
@@ -226,11 +226,11 @@ public class VccServiceImpl implements IVccService {
}
else
if
(
1
==
status
){
//审批通过
String
url
=
""
;
String
phone
=
bySerialNoEquals
.
getPhone
();
UserSysResult
<
XUser
>
userByPhoneNo
=
userSdk
.
getService
().
findUserByPhoneNo
(
phone
);
if
(
userByPhoneNo
==
null
||
!
userByPhoneNo
.
isSuccess
()
||
userByPhoneNo
.
getData
()
==
null
)
{
throw
new
RuntimeException
(
"用户中心接口findUserDetailByPhone返回失败"
);
}
//
String phone = bySerialNoEquals.getPhone();
//
UserSysResult<XUser> userByPhoneNo = userSdk.getService().findUserByPhoneNo(phone);
//
if (userByPhoneNo == null || !userByPhoneNo.isSuccess() || userByPhoneNo.getData() == null) {
//
throw new RuntimeException("用户中心接口findUserDetailByPhone返回失败");
//
}
if
(
1
==
bySerialNoEquals
.
getRepayType
()){
//月还账单
List
<
ApplyBill
>
billList
=
GSON
.
fromJson
(
bySerialNoEquals
.
getBills
(),
new
TypeToken
<
List
<
ApplyBill
>>()
{
...
...
@@ -240,10 +240,10 @@ public class VccServiceImpl implements IVccService {
stringBuilder
.
append
(
applyBill
.
getBillId
()).
append
(
","
);
}
String
billNo
=
stringBuilder
.
substring
(
0
,
stringBuilder
.
lastIndexOf
(
","
));
url
=
talosHttp
+
"/vcc/repay/offlineRepay?userId="
+
userByPhoneNo
.
getData
().
get
Id
()
+
"&amount="
+
bySerialNoEquals
.
getAmount
()
+
"&billNo="
+
billNo
;
url
=
talosHttp
+
"/vcc/repay/offlineRepay?userId="
+
bySerialNoEquals
.
getUser
Id
()
+
"&amount="
+
bySerialNoEquals
.
getAmount
()
+
"&billNo="
+
billNo
;
}
else
{
//提前结清
url
=
talosHttp
+
"/vcc/offline_pre_repay/repay?userId="
+
userByPhoneNo
.
getData
().
get
Id
()
+
"&amount="
+
bySerialNoEquals
.
getAmount
()
url
=
talosHttp
+
"/vcc/offline_pre_repay/repay?userId="
+
bySerialNoEquals
.
getUser
Id
()
+
"&amount="
+
bySerialNoEquals
.
getAmount
()
+
"&repayType="
+
bySerialNoEquals
.
getRepayType
()
+
"&uniqueId="
+
bySerialNoEquals
.
getUniqueId
();
}
log
.
info
(
"queryRepayCalDetail | 开始请求talos,url={}"
,
url
);
...
...
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