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
e984cf57
Commit
e984cf57
authored
Mar 03, 2022
by
yexiong.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
4b1b833f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
VccServiceImpl.java
...a/cn/quantgroup/customer/service/impl/VccServiceImpl.java
+2
-12
No files found.
src/main/java/cn/quantgroup/customer/service/impl/VccServiceImpl.java
View file @
e984cf57
...
...
@@ -306,21 +306,11 @@ public class VccServiceImpl implements IVccService {
public
JsonResult
queryApplyRecord
(
UserPreRepayInfoQuery
query
)
throws
Exception
{
BooleanExpression
booleanExpression
=
Expressions
.
asBoolean
(
true
).
isTrue
();
String
phone
=
""
;
if
(
StringUtils
.
isNotBlank
(
query
.
getUserId
())){
log
.
info
(
"userSdk={}"
,
userSdk
);
UserSysResult
<
XUser
>
userByUserId
=
userSdk
.
getService
().
findUserByUserId
(
Long
.
getLong
(
query
.
getUserId
()));
if
(
userByUserId
==
null
||
!
userByUserId
.
isSuccess
()
||
userByUserId
.
getData
()
==
null
)
{
log
.
info
(
"queryApplyRecord | 查询用户中心失败"
);
}
else
{
phone
=
userByUserId
.
getData
().
getPhoneNo
();
}
booleanExpression
=
booleanExpression
.
and
(
QOfflineRepaySubmitRecord
.
offlineRepaySubmitRecord
.
userId
.
eq
(
Integer
.
valueOf
(
query
.
getUserId
())));
}
if
(
StringUtils
.
isNotBlank
(
query
.
getPhone
())){
phone
=
query
.
getPhone
();
}
if
(
StringUtils
.
isNotBlank
(
phone
)){
booleanExpression
=
booleanExpression
.
and
(
QOfflineRepaySubmitRecord
.
offlineRepaySubmitRecord
.
phone
.
eq
(
phone
));
booleanExpression
=
booleanExpression
.
and
(
QOfflineRepaySubmitRecord
.
offlineRepaySubmitRecord
.
phone
.
eq
(
query
.
getPhone
()));
}
if
(
query
.
getApprovalStatus
()
!=
null
){
booleanExpression
=
booleanExpression
.
and
(
QOfflineRepaySubmitRecord
.
offlineRepaySubmitRecord
.
approvalStatus
.
eq
(
query
.
getApprovalStatus
()));
...
...
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