|
@@ -514,7 +514,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
if (maps.containsKey("telphone")) {
|
|
if (maps.containsKey("telphone")) {
|
|
|
telphone = JSONObject.parseObject(String.valueOf(maps.get("telphone")), UserProfileFit.class).getValue();
|
|
telphone = JSONObject.parseObject(String.valueOf(maps.get("telphone")), UserProfileFit.class).getValue();
|
|
|
if(Validator.isNotEmpty(telphone)){
|
|
if(Validator.isNotEmpty(telphone)){
|
|
|
- if(Validator.isNotEmpty(user)&&Validator.isEmpty(user.getTelphone())){ //身份证为空是覆盖
|
|
|
|
|
|
|
+ if(Validator.isNotEmpty(user)&&Validator.isEmpty(user.getTelphone())){ //手机号码为空是覆盖
|
|
|
User user2 = iUserService.getOne(new LambdaQueryWrapper<User>()
|
|
User user2 = iUserService.getOne(new LambdaQueryWrapper<User>()
|
|
|
.eq(User::getTelphone, EncryptHandler.encrypt(telphone)).last("limit 1"));
|
|
.eq(User::getTelphone, EncryptHandler.encrypt(telphone)).last("limit 1"));
|
|
|
if(Validator.isNotEmpty(user2)){
|
|
if(Validator.isNotEmpty(user2)){
|