浏览代码

修改获取路段列表接口

tags/v1.0.0^2
chengwang 2 年前
父节点
当前提交
4e36e3e6cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/SectionServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/SectionServiceImpl.java 查看文件

@@ -59,7 +59,7 @@ public class SectionServiceImpl extends BaseServiceImpl<SectionMapper, Section>
RoadInformation roadInformation = roadInformationMapper.selectOne(Wrappers.<RoadInformation>lambdaQuery()
.eq(RoadInformation::getId, record.getRoadId())
.eq(RoadInformation::getMark, 1));
if(null == roadInformation){
if(StringUtils.isNotNull(roadInformation)){
if(StringUtils.isNotEmpty(roadInformation.getCode())){
record.setCode(roadInformation.getCode());
}

正在加载...
取消
保存