Commit be101002 by shenjunjie

用户查询添加手机号逻辑

parent e15cbc04
......@@ -164,6 +164,10 @@ public class UserServiceImpl implements UserService {
}
}
User user = userDao.findOneById(userDTO.getId());
// 通过手机号再查询一次
if (null == user) {
user = userDao.findOne("phoneNumber", userDTO.getPhoneNumber());
}
// 新用户
if (null == user) {
User newUser;
......
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