瀏覽代碼

修改添加部门代码

tags/V1.3.3^2
wanjing 11 月之前
父節點
當前提交
708c338ca8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/dept/add/AddDeptService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/dept/add/AddDeptService.java 查看文件

@@ -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<>();

Loading…
取消
儲存