|
@@ -118,7 +118,7 @@ public class EnterpriseBusinessServiceImpl implements EnterpriseBusinessService
|
|
|
EnterpriseBusinessDO businessDO =
|
|
|
enterpriseBusinessMapper.selectByEnterpriseId(LoginUserContext.getEnterpriseId());
|
|
|
if (null == businessDO) {
|
|
|
- return null;
|
|
|
+ throw exception(MDE_ENTERPRISE_BUSINESS_NOT_EXISTS);
|
|
|
}
|
|
|
return businessDO;
|
|
|
}
|
|
@@ -136,6 +136,7 @@ public class EnterpriseBusinessServiceImpl implements EnterpriseBusinessService
|
|
|
|
|
|
@Override
|
|
|
public AppRecruitEnterpriseBusinessRespVO get() {
|
|
|
- return EnterpriseConvert.INSTANCE.convert15(selectBusiness());
|
|
|
+ return EnterpriseConvert.INSTANCE.convert15(
|
|
|
+ enterpriseBusinessMapper.selectByEnterpriseId(LoginUserContext.getEnterpriseId()));
|
|
|
}
|
|
|
}
|