前端-胡立永 1 week ago
parent
commit
0f7d5fe5ba
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/AuthenticationServiceImpl.java

+ 4
- 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/AuthenticationServiceImpl.java View File

@ -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 = "企业实名添加成功!";
}


Loading…
Cancel
Save