|
@@ -39,10 +39,7 @@ public class UserServiceImpl implements UserService {
|
|
|
if (u == null && !StringUtils.isEmpty(user.getUid()) ){
|
|
if (u == null && !StringUtils.isEmpty(user.getUid()) ){
|
|
|
List<com.uas.platform.b2c.common.account.model.User> users = userDao.findUserByUserTel(user.getUid());
|
|
List<com.uas.platform.b2c.common.account.model.User> users = userDao.findUserByUserTel(user.getUid());
|
|
|
if (!CollectionUtils.isEmpty(users)){
|
|
if (!CollectionUtils.isEmpty(users)){
|
|
|
- u = users.get(0);
|
|
|
|
|
- if (users.size() > 1) {
|
|
|
|
|
- userDao.delete(users);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ userDao.delete(users);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (null == u) {
|
|
if (null == u) {
|