|
|
|
|
|
|
|
|
RoadInformation roadInformation = roadInformationMapper.selectOne(Wrappers.<RoadInformation>lambdaQuery() |
|
|
RoadInformation roadInformation = roadInformationMapper.selectOne(Wrappers.<RoadInformation>lambdaQuery() |
|
|
.eq(RoadInformation::getId, record.getRoadId()) |
|
|
.eq(RoadInformation::getId, record.getRoadId()) |
|
|
.eq(RoadInformation::getMark, 1)); |
|
|
.eq(RoadInformation::getMark, 1)); |
|
|
if(null == roadInformation){ |
|
|
|
|
|
|
|
|
if(StringUtils.isNotNull(roadInformation)){ |
|
|
if(StringUtils.isNotEmpty(roadInformation.getCode())){ |
|
|
if(StringUtils.isNotEmpty(roadInformation.getCode())){ |
|
|
record.setCode(roadInformation.getCode()); |
|
|
record.setCode(roadInformation.getCode()); |
|
|
} |
|
|
} |