Browse Source

feat(all): 修改路径价格路径保存问题

dist.1.3.0
zhaoqiaobo 6 months ago
parent
commit
ddf4e9d4a8
  1. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceRouteServiceImpl.java

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceRouteServiceImpl.java

@ -97,7 +97,7 @@ public class BasicdataPriceRouteServiceImpl extends BaseServiceImpl<BasicdataPri
route.setEndCityId(vo.getEndCityId()); route.setEndCityId(vo.getEndCityId());
route.setEndProvinceId(vo.getEndProvinceId()); route.setEndProvinceId(vo.getEndProvinceId());
route.setEndCountyId(vo.getEndCountyId()); route.setEndCountyId(vo.getEndCountyId());
if(ObjectUtil.isEmpty(vo.getId())){ if(ObjectUtil.isNotEmpty(vo.getId())){
baseMapper.update(route,new UpdateWrapper<BasicdataPriceRouteEntity>().lambda() baseMapper.update(route,new UpdateWrapper<BasicdataPriceRouteEntity>().lambda()
.eq(BasicdataPriceRouteEntity::getId, route.getId()) .eq(BasicdataPriceRouteEntity::getId, route.getId())
.set(BasicdataPriceRouteEntity::getStartProvinceId, route.getStartProvinceId()) .set(BasicdataPriceRouteEntity::getStartProvinceId, route.getStartProvinceId())

Loading…
Cancel
Save