| | |
| | | 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; |
| | |
| | | void confirmStoreOut(Integer orderId, Integer shopId, List<String> images, String remark); |
| | | |
| | | /** |
| | | * 会员确认收货 |
| | | * 异地寄存且无取件门店的订单,送达后(status=5),会员确认收货标记订单完成 |
| | | * |
| | | * @param orderId 订单主键 |
| | | * @param memberId 当前登录会员ID |
| | | */ |
| | | void memberConfirmReceipt(Integer orderId, Integer memberId); |
| | | |
| | | /** |
| | | * 计算并更新订单三方收益(存件门店/取件门店/司机) |
| | | * 就地寄存:仅存件门店收益 |
| | | * 异地寄存:存件门店 + 司机收益;有取件门店时加上取件门店收益 |
| | |
| | | */ |
| | | 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); |
| | | |
| | | } |