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
6fe052f0
Commit
6fe052f0
authored
Jul 15, 2020
by
xiaozhe.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户查询
parent
c2fdfd02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
UserServiceImpl.java
.../cn/quantgroup/customer/service/impl/UserServiceImpl.java
+10
-1
No files found.
src/main/java/cn/quantgroup/customer/service/impl/UserServiceImpl.java
View file @
6fe052f0
...
...
@@ -216,8 +216,17 @@ public class UserServiceImpl implements IUserService {
if
(
StringUtils
.
isNotBlank
(
userQueryParam
.
getIdNo
()))
{
//通过业务系统获得
log
.
info
(
"{} 通过phoneNo查询 idNo={}"
,
LOG_PRE
,
userQueryParam
.
getIdNo
());
JsonResult
userDetailResult
=
findUserDetailByIdNo
(
userQueryParam
.
getIdNo
());
if
(
StringUtils
.
isNotEmpty
(
userQueryParam
.
getPhoneNo
())
&&
userDetailResult
.
isSuccess
()
&&
userDetailResult
.
getData
()
!=
null
)
{
UserBasicInfo
userBasicInfo
=
(
UserBasicInfo
)
userDetailResult
.
getData
();
String
phoneNo
=
userBasicInfo
.
getPhoneNo
();
String
paramPhoneNo
=
userQueryParam
.
getPhoneNo
();
if
(!
paramPhoneNo
.
equals
(
phoneNo
))
{
return
JsonResult
.
buildErrorStateResult
(
"无有效查询参数"
,
null
);
}
}
return
findUserDetailByIdNo
(
userQueryParam
.
getIdNo
())
;
return
userDetailResult
;
}
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