Commit 0da44f22 authored by 王向伟's avatar 王向伟

用户信息查询修改逻辑

parent 3f91901e
......@@ -177,9 +177,9 @@ public class UserServiceImpl implements IUserService {
log.info("{} 通过uuid查询 uuid={}", LOG_PRE, userQueryParam.getUuid());
UserSysResult<XUser> xUserByUuid = userSdk.getService().findUserByUuid(userQueryParam.getUuid());
Object jsonResultData = getJsonResultData(xUserByUuid);
if (jsonResultData instanceof XUserFullInfo) {
XUserFullInfo xUserFullInfo = (XUserFullInfo) jsonResultData;
UserSysResult<XUserDetail> userDetailByPhone = userSdk.getService().findUserDetailByPhone(xUserFullInfo.getPhoneNo());
if (jsonResultData instanceof XUser) {
XUser xUser = (XUser) jsonResultData;
UserSysResult<XUserDetail> userDetailByPhone = userSdk.getService().findUserDetailByPhone(xUser.getPhoneNo());
return getUserBasicInfoResult(xUserByUuid, userDetailByPhone);
} else {
return (JsonResult) jsonResultData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment