Commit cedc7ea3 authored by wujipeng's avatar wujipeng
Browse files

管径优化

parent 30b65bd5
......@@ -101,7 +101,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
//列表
List<RoadVO> data = new ArrayList<>();
//获取relId
List<BasicEntity> list = basicService.list(new LambdaQueryWrapper<BasicEntity>().eq(BasicEntity::getRoadName, roadDTO.getRoadName()));
List<BasicEntity> list = basicService.list(new LambdaQueryWrapper<BasicEntity>().like(BasicEntity::getRoadName, roadDTO.getRoadName()));
if (!list.isEmpty()) {
fileName = list.get(0).getReportName();
regionName = list.get(0).getRegion();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment