Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6ae67121
authored
Sep 27, 2018
by
Huang Linyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'f-6.6.9' of 192.168.10.6:caosy/fun-golf-service into f-6.6.9
parents
495970b0
4ea4d164
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/service/user/UserService.java
src/main/java/com/ctrip/fun/golf/service/user/UserService.java
View file @
6ae67121
...
@@ -853,6 +853,8 @@ public class UserService {
...
@@ -853,6 +853,8 @@ public class UserService {
if
(
userext
.
getMiniAppOpenId
()==
null
){
if
(
userext
.
getMiniAppOpenId
()==
null
){
userext
.
setInviterUid
(
req
.
getInviterUid
());
userext
.
setInviterUid
(
req
.
getInviterUid
());
this
.
updateUserExtWeiXinInfo
(
userext
,
weiXinInfoJSON
);
this
.
updateUserExtWeiXinInfo
(
userext
,
weiXinInfoJSON
);
}
else
{
this
.
updateUserExtWeiXinInfo
(
userext
,
weiXinInfoJSON
);
}
}
}
else
{
}
else
{
//否则生成新的用户信息
//否则生成新的用户信息
...
@@ -1637,9 +1639,9 @@ public class UserService {
...
@@ -1637,9 +1639,9 @@ public class UserService {
* 当前uid大多数等于bindedmobilePhone,新增加的社员都是uid等于手机号码, 所以更改优先使用手机号码查询用户信息
* 当前uid大多数等于bindedmobilePhone,新增加的社员都是uid等于手机号码, 所以更改优先使用手机号码查询用户信息
*/
*/
public
UserBean
getUserDetail
(
UserQuery
userQuery
)
{
public
UserBean
getUserDetail
(
UserQuery
userQuery
)
{
UserExt
userExt
=
this
.
userExtDao
.
GetUserExtInfoByPhone
(
userQuery
.
getUid
());
UserExt
userExt
=
this
.
userExtDao
.
getUserExtInfoByUid
(
userQuery
.
getUid
());
if
(
userExt
==
null
)
{
if
(
userExt
==
null
)
{
userExt
=
this
.
userExtDao
.
getUserExtInfoByUid
(
userQuery
.
getUid
());
userExt
=
this
.
userExtDao
.
GetUserExtInfoByPhone
(
userQuery
.
getUid
());
}
}
if
(
userExt
==
null
)
{
if
(
userExt
==
null
)
{
return
null
;
return
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