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
86112925
Commit
86112925
authored
Feb 14, 2022
by
王业雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d5e5fa0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
VccServiceImpl.java
...a/cn/quantgroup/customer/service/impl/VccServiceImpl.java
+9
-5
No files found.
src/main/java/cn/quantgroup/customer/service/impl/VccServiceImpl.java
View file @
86112925
...
...
@@ -16,7 +16,6 @@ import cn.quantgroup.customer.service.IOpSystemService;
import
cn.quantgroup.customer.service.IVccService
;
import
cn.quantgroup.customer.service.http.IHttpService
;
import
cn.quantgroup.customer.util.IdUtil
;
import
cn.quantgroup.user.IUserSdkService
;
import
cn.quantgroup.user.retbean.XUser
;
import
cn.quantgroup.user.vo.UserSysResult
;
import
com.alibaba.fastjson.JSONObject
;
...
...
@@ -52,14 +51,19 @@ public class VccServiceImpl implements IVccService {
@Resource
private
OfflineRepaySubmitRecordRepo
offlineRepaySubmitRecordRepo
;
@Resource
private
IUserSdkService
userSdkService
;
@Resource
private
OfflineRepayOperateRecordRepo
offlineRepayOperateRecordRepo
;
@Autowired
private
IOpSystemService
IOpSystemService
;
@Autowired
private
IFastDFSService
fastDfsService
;
private
final
UserSdkImpl
userSdk
;
@Autowired
public
VccServiceImpl
(
UserSdkImpl
userSdk
)
{
this
.
userSdk
=
userSdk
;
}
@Override
public
JsonResult
queryPage
(
UserPreRepayInfoQuery
query
)
throws
Exception
{
String
url
=
talosHttp
+
"/vcc/offline_pre_repay/query_page"
;
...
...
@@ -218,7 +222,7 @@ public class VccServiceImpl implements IVccService {
//审批通过
String
url
=
""
;
String
phone
=
bySerialNoEquals
.
getPhone
();
UserSysResult
<
XUser
>
userByPhoneNo
=
userSdk
Service
.
findUserByPhoneNo
(
phone
);
UserSysResult
<
XUser
>
userByPhoneNo
=
userSdk
.
getService
()
.
findUserByPhoneNo
(
phone
);
if
(
1
==
bySerialNoEquals
.
getRepayType
()){
//月还账单
List
<
ApplyBill
>
billList
=
GSON
.
fromJson
(
bySerialNoEquals
.
getBills
(),
new
TypeToken
<
List
<
ApplyBill
>>()
{
...
...
@@ -271,7 +275,7 @@ public class VccServiceImpl implements IVccService {
String
phone
=
""
;
if
(
StringUtils
.
isNotBlank
(
query
.
getUserId
())){
UserSysResult
<
XUser
>
userByUserId
=
userSdk
Service
.
findUserByUserId
(
Long
.
getLong
(
query
.
getUserId
()));
UserSysResult
<
XUser
>
userByUserId
=
userSdk
.
getService
()
.
findUserByUserId
(
Long
.
getLong
(
query
.
getUserId
()));
phone
=
userByUserId
.
getData
().
getPhoneNo
();
}
if
(
StringUtils
.
isNotBlank
(
query
.
getPhone
())){
...
...
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