From 0f7d5fe5baceb9f8a8c802a551afbf6d7e4bb37c Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sun, 26 Oct 2025 12:21:09 +0800 Subject: [PATCH] 1 --- .../jeecg/modules/apiService/impl/AuthenticationServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 = "企业实名添加成功!"; }