|  | @@ -14,6 +14,7 @@ import cn.hutool.core.collection.CollectionUtil;
 | 
	
		
			
				|  |  |  import cn.hutool.core.util.ObjectUtil;
 | 
	
		
			
				|  |  |  import com.yami.shop.bean.app.dto.ProductItemDto;
 | 
	
		
			
				|  |  |  import com.yami.shop.bean.app.dto.ShopCartItemDto;
 | 
	
		
			
				|  |  | +import com.yami.shop.bean.dto.TzTransportDto;
 | 
	
		
			
				|  |  |  import com.yami.shop.bean.enums.TransportChargeType;
 | 
	
		
			
				|  |  |  import com.yami.shop.bean.model.*;
 | 
	
		
			
				|  |  |  import com.yami.shop.common.exception.GlobalException;
 | 
	
	
		
			
				|  | @@ -30,6 +31,7 @@ import com.yami.shop.service.ProductService;
 | 
	
		
			
				|  |  |  import com.yami.shop.service.ShopDetailService;
 | 
	
		
			
				|  |  |  import com.yami.shop.service.SkuService;
 | 
	
		
			
				|  |  |  import org.apache.commons.collections.CollectionUtils;
 | 
	
		
			
				|  |  | +import org.springframework.beans.BeanUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -215,7 +217,7 @@ public class TransportManagerServiceImpl implements TransportManagerService {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | -    public Transport2 calculateTransfeeSecondTransport2(Long shopId, UserAddr userAddr, Integer platform) {
 | 
	
		
			
				|  |  | +    public TzTransportDto calculateTransfeeSecondTransport2(Long shopId, UserAddr userAddr, Integer platform) {
 | 
	
		
			
				|  |  |          Double longitude = userAddr.getLongitude();
 | 
	
		
			
				|  |  |          Double latitude = userAddr.getLatitude();
 | 
	
		
			
				|  |  |          if (longitude.equals(0.0)) {
 | 
	
	
		
			
				|  | @@ -225,8 +227,10 @@ public class TransportManagerServiceImpl implements TransportManagerService {
 | 
	
		
			
				|  |  |          ShopDetail shopDetailByShopId = shopDetailService.getShopDetailByShopId(shopId);
 | 
	
		
			
				|  |  |          double v = calculateDistance(latitude, longitude, Double.valueOf(shopDetailByShopId.getShopLat()), Double.valueOf(shopDetailByShopId.getShopLng()));
 | 
	
		
			
				|  |  |          Transport2 byDistance = transport2Service.findByDistance(shopId, platform);
 | 
	
		
			
				|  |  | -        byDistance.setTargetDistance(v);
 | 
	
		
			
				|  |  | -        return byDistance;
 | 
	
		
			
				|  |  | +        TzTransportDto tzTransportDto = new TzTransportDto();
 | 
	
		
			
				|  |  | +        BeanUtils.copyProperties(byDistance, tzTransportDto);
 | 
	
		
			
				|  |  | +        tzTransportDto.setTargetDistance(v);
 | 
	
		
			
				|  |  | +        return tzTransportDto;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 |