|
@@ -240,7 +240,7 @@ public class ExaminationBasicServiceImpl extends BaseServiceImpl<Long, Examinati
|
|
|
|
|
|
List<Integer> childOrganIds = organizationService.getChildOrganIds(organId, true);
|
|
List<Integer> childOrganIds = organizationService.getChildOrganIds(organId, true);
|
|
|
|
|
|
- if(!childOrganIds.contains(examinationBasic.getOrganId())){
|
|
|
|
|
|
+ if(Objects.nonNull(childOrganIds)&&!childOrganIds.contains(examinationBasic.getOrganId())){
|
|
throw new BizException("删除失败");
|
|
throw new BizException("删除失败");
|
|
}
|
|
}
|
|
|
|
|