zhangyuewww 11 月之前
父節點
當前提交
60a57a5b01

+ 2 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/IdentityAuthenticationInfoServiceImpl.java

@@ -170,7 +170,7 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
             identityAuthenticationInfo.setAuthenticationStatus(StatusEnum.IDENTITY_REVIEWED.getName());
             identityAuthenticationInfo.setAuthenticationStatusKey(StatusEnum.IDENTITY_REVIEWED.getFlag());
         }
-        //判断手机号是否唯一
+        //判断身份证号是否唯一
         List<IdentityAuthenticationInfo> identityAuthenticationInfoList =
                 this.selectList(new EntityWrapper<IdentityAuthenticationInfo>()
                         .eq("customer_number_card", identityAuthenticationInfo.getCustomerNumberCard())
@@ -186,6 +186,7 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
 //                this.updateById(identityAuthenticationInfo1);
 //            }
             identityAuthenticationInfo.setId(identityAuthenticationInfoList.get(0).getId());
+            this.updateById(identityAuthenticationInfo);
         }
         else {
             // 操作主表数据