|
|
@@ -1,6 +1,7 @@ |
|
|
|
package com.tuoheng.admin.service.dept.query; |
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollectionUtil; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.tuoheng.admin.conver.DeptConverMapper; |
|
|
|
import com.tuoheng.admin.dto.RoadSectionDto; |
|
|
@@ -176,6 +177,9 @@ public class QueryDeptInfoService { |
|
|
|
sectionListTmp = new ArrayList<>(); |
|
|
|
sectionListTmp.add(section); |
|
|
|
roadInformation = roadInformationMap.get(section.getRoadId()); |
|
|
|
if (ObjectUtil.isNull(roadInformation)) { |
|
|
|
continue; |
|
|
|
} |
|
|
|
roadSectionDto.setRoad(roadInformation); |
|
|
|
roadSectionDto.setSectionList(sectionListTmp); |
|
|
|
roadSectionDtoList.add(roadSectionDto); |