|
@@ -76,6 +76,11 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
|
|
|
*/
|
|
|
@Override
|
|
|
public String modifyIdentityPhone(IdentityAuthenticationInfo identityAuthenticationInfo) {
|
|
|
+ IdentityAuthenticationInfo identityAuthenticationInfo2=this.selectById(identityAuthenticationInfo.getId());
|
|
|
+ //已覆盖的粮商解除覆盖状态
|
|
|
+ if("1".equals(identityAuthenticationInfo2.getCover())){
|
|
|
+ identityAuthenticationInfo2.setCover("0");
|
|
|
+ }
|
|
|
IdentityAuthenticationInfo identityAuthenticationInfo1=this.selectOne(new EntityWrapper<IdentityAuthenticationInfo>()
|
|
|
.eq("customer_phone",identityAuthenticationInfo.getCustomerPhone())
|
|
|
.eq("delete_flag","0"));
|
|
@@ -85,7 +90,7 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
|
|
|
this.updateById(identityAuthenticationInfo1);
|
|
|
}
|
|
|
//修改身份认证信息
|
|
|
- this.updateById(identityAuthenticationInfo);
|
|
|
+ this.updateById(identityAuthenticationInfo2);
|
|
|
return "OK";
|
|
|
}
|
|
|
|