@@ -162,7 +162,7 @@ public class AddDeptService { | |||
private void addRoadAndSectionToDept(String tenantId, String deptId, List<RoadSectionDto> roadSectionDtoList) { | |||
if (CollectionUtil.isEmpty(roadSectionDtoList)) { | |||
log.info("新增部门公路/路段数据为空"); | |||
throw new ServiceException("新增部门公路/路段数据为空"); | |||
return; | |||
} | |||
List<RoadInformation> roadInformationList = new ArrayList<>(); | |||
List<Section> sectionList = new ArrayList<>(); |