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
183c30cd
Commit
183c30cd
authored
Mar 21, 2020
by
杨钧
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'login' of
http://git.quantgroup.cn/QG/customer-service
into login
parents
06491e7c
81a26208
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
UserServiceImpl.java
.../cn/quantgroup/customer/service/impl/UserServiceImpl.java
+8
-3
No files found.
src/main/java/cn/quantgroup/customer/service/impl/UserServiceImpl.java
View file @
183c30cd
...
...
@@ -282,9 +282,14 @@ public class UserServiceImpl implements IUserService {
return
JsonResult
.
buildErrorStateResult
(
"远程调用结果为空"
,
null
);
}
if
(!
userSysResult
.
isSuccess
()
||
Objects
.
isNull
(
userSysResult
.
getData
())
)
{
if
(!
userSysResult
.
isSuccess
())
{
log
.
error
(
"{} 远程调用失败 userSysResult={}"
,
logPre
,
userSysResult
);
return
JsonResult
.
buildErrorStateResult
(
userSysResult
.
getMsg
(),
userSysResult
.
getData
());
return
JsonResult
.
buildErrorStateResult
(
"查询用户失败"
,
userSysResult
.
getData
());
}
if
(
Objects
.
isNull
(
userSysResult
.
getData
())){
log
.
error
(
"{} 用户不存在 userSysResult={}"
,
logPre
,
userSysResult
);
return
JsonResult
.
buildErrorStateResult
(
"用户不存在"
,
userSysResult
.
getData
());
}
return
userSysResult
.
getData
();
}
...
...
@@ -501,7 +506,7 @@ public class UserServiceImpl implements IUserService {
return
JsonResult
.
buildErrorStateResult
(
"查询失败"
,
null
);
}
if
(
Objects
.
isNull
(
orderMapping
.
getData
()))
{
return
JsonResult
.
build
Success
Result
(
"无数据,请用其他参数查询"
,
null
);
return
JsonResult
.
build
ErrorState
Result
(
"无数据,请用其他参数查询"
,
null
);
}
Long
qgUserId
=
orderMapping
.
getData
().
getQgUserId
();
UserSysResult
<
XUserDetail
>
userDetailByUserId
=
userSdk
.
getService
().
findUserDetailByUserId
(
qgUserId
);
...
...
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