匿名企业信息
This commit is contained in:
@@ -90,9 +90,9 @@ public class HrCompanyAuditServiceImpl implements HrCompanyAuditService {
|
|||||||
|
|
||||||
Config config = configService.getConfig("company_audit_enable", CommonConstants.PLATFORM_ORG_ID, true);
|
Config config = configService.getConfig("company_audit_enable", CommonConstants.PLATFORM_ORG_ID, true);
|
||||||
|
|
||||||
//入驻申请创建都是需要免审核 此处直接给config设置不为空就行
|
//入驻申请创建都是需要免审核 此处直接给config设置为空就行
|
||||||
if (StringUtils.equals(HrCompanyEnum.SELF.getType(),operatorDto.getCompanyType())) {
|
if (StringUtils.equals(HrCompanyEnum.SELF.getType(),operatorDto.getCompanyType())) {
|
||||||
config = Objects.nonNull(config) ? config : new Config();
|
config = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Objects.nonNull(config)) {
|
if (Objects.nonNull(config)) {
|
||||||
@@ -148,9 +148,9 @@ public class HrCompanyAuditServiceImpl implements HrCompanyAuditService {
|
|||||||
hrCompanyAudit.setCompanyType(hrCompany.getCompanyType());
|
hrCompanyAudit.setCompanyType(hrCompany.getCompanyType());
|
||||||
|
|
||||||
Config config = configService.getConfig("company_audit_enable", CommonConstants.PLATFORM_ORG_ID, true);
|
Config config = configService.getConfig("company_audit_enable", CommonConstants.PLATFORM_ORG_ID, true);
|
||||||
//入驻申请创建都是需要免审核 此处直接给config设置不为空就行
|
//入驻申请创建都是需要免审核 此处直接给config设置为空就行
|
||||||
if (StringUtils.equals(HrCompanyEnum.SELF.getType(),operatorDto.getCompanyType())) {
|
if (StringUtils.equals(HrCompanyEnum.SELF.getType(),operatorDto.getCompanyType())) {
|
||||||
config = Objects.nonNull(config) ? config : new Config();
|
config = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Objects.nonNull(config)) {
|
if (Objects.nonNull(config)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user