| | |
| | | import com.doumee.dao.dto.DispatchDTO; |
| | | import com.doumee.dao.dto.CommentOrderDTO; |
| | | import com.doumee.dao.dto.MyOrderDTO; |
| | | import com.doumee.dao.vo.MyOrderDetailVO; |
| | | import com.doumee.dao.vo.MyOrderVO; |
| | | import com.doumee.dao.vo.OrderDetailVO; |
| | | import com.doumee.dao.vo.OrderDispatchVO; |
| | | import com.doumee.dao.vo.OrderSummaryVO; |
| | | import com.doumee.dao.vo.OverdueFeeVO; |
| | | import com.doumee.dao.vo.PayResponse; |
| | | import com.doumee.dao.vo.PriceCalculateVO; |
| | | import com.doumee.dao.vo.*; |
| | | |
| | | 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); |
| | | |
| | | /** |
| | | * 计算并更新订单三方收益(存件门店/取件门店/司机) |
| | | * 就地寄存:仅存件门店收益 |
| | | * 异地寄存:存件门店 + 司机收益;有取件门店时加上取件门店收益 |
| | |
| | | /** |
| | | * 门店支付押金(唤起微信支付) |
| | | * |
| | | * @param shopId 门店主键 |
| | | * @param memberId 用户主键 |
| | | * @return 支付响应 |
| | | */ |
| | | PayResponse payShopDeposit(Integer shopId); |
| | | PayResponse payShopDeposit(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); |
| | | |
| | | /** |
| | | * 查询会员首页进行中最新订单提示 |
| | | * 查询status in (0,1,2,3,4,5)的订单,按创建时间倒序取第一条 |
| | | * |
| | | * @param memberId 会员主键 |
| | | * @return 最新进行中订单提示,无订单返回null |
| | | */ |
| | | ActiveOrderTipVO getActiveOrderTip(Integer memberId); |
| | | |
| | | } |