|
|
|
@ -484,7 +484,7 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl<BasicdataPriceMap
|
|
|
|
|
priceClientVO.setPickup(initPickUp(priceEntity, templateEntity, fullMap.get(FullVehicleTypeEnums.PICK_UP.getCode()), basicMap.get(ServiceTypeEnums.PICK_UP.getCode()), generalMap.get(GeneralServiceTypeEnums.PICK_UP.getCode()))); |
|
|
|
|
} else { |
|
|
|
|
// 按区域计费,查询路径,返回价格
|
|
|
|
|
wrapper.eq(BasicdataPriceRouteEntity::getServiceType, ServiceTypeEnums.TRUNK_LINE.getCode()); |
|
|
|
|
wrapper.eq(BasicdataPriceRouteEntity::getServiceType, ServiceTypeEnums.PICK_UP.getCode()); |
|
|
|
|
List<BasicdataPriceRouteEntity> routeEntities = basicdataPriceRouteService.list(wrapper); |
|
|
|
|
if (CollUtil.isNotEmpty(routeEntities)) { |
|
|
|
|
PriceRouteVO detail = basicdataPriceRouteService.detail(routeEntities.get(0).getId()); |
|
|
|
|