diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/AuthenticationServiceImpl.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/AuthenticationServiceImpl.java index 752d5f4..1e57922 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/AuthenticationServiceImpl.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/AuthenticationServiceImpl.java @@ -84,7 +84,7 @@ public class AuthenticationServiceImpl implements AuthenticationService { if(null != one){ if(!"1".equals(one.getStatus())){ employAuthenticationPerson.setId(one.getId()); - employAuthenticationPerson.setStatus("0"); + employAuthenticationPerson.setStatus("1"); employAuthenticationPersonService.updateById(employAuthenticationPerson); message = "个人实名修改成功!"; }else { @@ -92,6 +92,7 @@ public class AuthenticationServiceImpl implements AuthenticationService { } }else { employAuthenticationPerson.setUserId(hanHaiMember.getId()); + employAuthenticationPerson.setStatus("1"); boolean result = employAuthenticationPersonService.save(employAuthenticationPerson); message = "个人实名添加成功!"; } @@ -140,7 +141,7 @@ public class AuthenticationServiceImpl implements AuthenticationService { if(null != one){ if(!"1".equals(one.getStatus())){ employAuthenticationCompany.setId(one.getId()); - employAuthenticationCompany.setStatus("0"); + employAuthenticationCompany.setStatus("1"); employAuthenticationCompanyService.updateById(employAuthenticationCompany); message = "企业实名修改成功!"; }else { @@ -148,6 +149,7 @@ public class AuthenticationServiceImpl implements AuthenticationService { } }else { employAuthenticationCompany.setUserId(hanHaiMember.getId()); + employAuthenticationCompany.setStatus("1"); boolean result = employAuthenticationCompanyService.save(employAuthenticationCompany); message = "企业实名添加成功!"; }