|
|
@ -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()) |
|
|
|