| | |
| | | import com.doumee.dao.vo.OverdueFeeVO; |
| | | import com.doumee.dao.vo.PayResponse; |
| | | import com.doumee.dao.vo.PriceCalculateVO; |
| | | import com.doumee.dao.vo.EstimatedDeliveryResultVO; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | |
| | | */ |
| | | PageData<MyOrderVO> findShopOrderPage(PageWrap<MyOrderDTO> pageWrap, Integer shopId); |
| | | |
| | | /** |
| | | * 计算两地之间的预计送达时效(标速达 + 极速达) |
| | | * 通过腾讯地图API计算实际距离,再根据pricing_rule type=2计算时效 |
| | | * |
| | | * @param cityId 城市主键 |
| | | * @param fromLat 起点纬度 |
| | | * @param fromLng 起点经度 |
| | | * @param toLat 终点纬度 |
| | | * @param toLng 终点经度 |
| | | * @return 预计送达时效结果 |
| | | */ |
| | | EstimatedDeliveryResultVO calculateEstimatedDelivery(Integer cityId, |
| | | Double fromLat, Double fromLng, |
| | | Double toLat, Double toLng); |
| | | |
| | | } |