|
|
|
|
|
|
|
|
package com.tuoheng.admin.service.dept.query; |
|
|
package com.tuoheng.admin.service.dept.query; |
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollectionUtil; |
|
|
import cn.hutool.core.collection.CollectionUtil; |
|
|
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
import com.tuoheng.admin.conver.DeptConverMapper; |
|
|
import com.tuoheng.admin.conver.DeptConverMapper; |
|
|
import com.tuoheng.admin.dto.RoadSectionDto; |
|
|
import com.tuoheng.admin.dto.RoadSectionDto; |
|
|
|
|
|
|
|
|
sectionListTmp = new ArrayList<>(); |
|
|
sectionListTmp = new ArrayList<>(); |
|
|
sectionListTmp.add(section); |
|
|
sectionListTmp.add(section); |
|
|
roadInformation = roadInformationMap.get(section.getRoadId()); |
|
|
roadInformation = roadInformationMap.get(section.getRoadId()); |
|
|
|
|
|
if (ObjectUtil.isNull(roadInformation)) { |
|
|
|
|
|
continue; |
|
|
|
|
|
} |
|
|
roadSectionDto.setRoad(roadInformation); |
|
|
roadSectionDto.setRoad(roadInformation); |
|
|
roadSectionDto.setSectionList(sectionListTmp); |
|
|
roadSectionDto.setSectionList(sectionListTmp); |
|
|
roadSectionDtoList.add(roadSectionDto); |
|
|
roadSectionDtoList.add(roadSectionDto); |