OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2022-01-26 c18c5fad9a765a4b6e65ce0df810c733ae90bf73
src/main/java/kr/wisestone/owl/service/impl/CompanyFieldServiceImpl.java
@@ -242,7 +242,7 @@
        if (companyFieldForm.getChildSectorId() != null) {
            CompanyFieldCategory companyFieldCategory = this.companyFieldCategoryService.find(companyFieldForm.getChildSectorId());
            if (!companyFieldCategory.getParentId().equals(companyFieldForm.getParentSectorId())) {
            if (companyFieldCategory != null && !companyFieldCategory.getParentId().equals(companyFieldForm.getParentSectorId())) {
                throw new OwlRuntimeException(
                        this.messageAccessor.getMessage(MsgConstants.PARENT_SECTOR_NOT_EQUAL));
            }