Explorar el Código

修改审核状态

LiFei hace 6 años
padre
commit
006f000001

+ 2 - 2
happy-boot-module-hppay/src/main/java/org/jeecg/modules/company/service/impl/CompanyAuthenticationServiceImpl.java

@@ -210,7 +210,7 @@ public class CompanyAuthenticationServiceImpl extends ServiceImpl<CompanyAuthent
             companyAuthentication = getById(companyAuthentication.getId());
             Message message = new Message();
             message.setUserId(companyAuthentication.getUserId());
-            if (companyAuthentication.getAuthenticationStatus() == 2) {
+            if (companyAuthentication.getAuthenticationStatus() == 3) {
                 message.setTitle("企业认证通过审核");
                 message.setContent("您的企业信息已通过审核");
                 List<Position> list = positionMapper.findPosition(companyAuthentication.getUserId());
@@ -221,7 +221,7 @@ public class CompanyAuthenticationServiceImpl extends ServiceImpl<CompanyAuthent
                         positionMapper.changePositionName(position);
                     }
                 }
-            } else if (companyAuthentication.getAuthenticationStatus() == 3) {
+            } else if (companyAuthentication.getAuthenticationStatus() == 2) {
                 message.setTitle("企业认证未通过审核");
                 message.setContent("您的企业信息未通过审核");
             }