Commit f282299e by Huang Linyu

set priority phone great than uid

parent 3e292d4d
......@@ -1633,11 +1633,12 @@ public class UserService {
/**
* uid为空串是获取用信息失败。
* 当前uid大多数等于bindedmobilePhone,新增加的社员都是uid等于手机号码, 所以更改优先使用手机号码查询用户信息
*/
public UserBean getUserDetail(UserQuery userQuery) {
UserExt userExt = this.userExtDao.getUserExtInfoByUid(userQuery.getUid());
UserExt userExt = this.userExtDao.GetUserExtInfoByPhone(userQuery.getUid());
if (userExt == null) {
userExt = this.userExtDao.GetUserExtInfoByPhone(userQuery.getUid());
userExt = this.userExtDao.getUserExtInfoByUid(userQuery.getUid());
}
if (userExt == null) {
return null;
......
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 sign in to comment