| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.Orders; |
| | | import com.doumee.dao.business.model.OrdersRefund; |
| | | import com.doumee.dao.dto.CalculateLocalPriceDTO; |
| | | import com.doumee.dao.dto.CalculateRemotePriceDTO; |
| | | import com.doumee.dao.dto.CreateOrderDTO; |
| | | import com.doumee.dao.dto.HandleOrderExceptionDTO; |
| | | import com.doumee.dao.dto.ManualRefundDTO; |
| | | import com.doumee.dao.dto.DispatchDTO; |
| | | import com.doumee.dao.dto.CommentOrderDTO; |
| | | import com.doumee.dao.dto.MyOrderDTO; |
| | |
| | | void settleOrders(); |
| | | |
| | | /** |
| | | * 手动退款 |
| | | */ |
| | | void manualRefund(ManualRefundDTO dto, Integer userId); |
| | | |
| | | /** |
| | | * 处理手动退款的扣款逻辑(退款回调成功时调用) |
| | | */ |
| | | void processManualRefundCallback(OrdersRefund refundRecord); |
| | | |
| | | /** |
| | | * 订单评价 |
| | | * status=7且commentStatus=0时可评价,按对象(存件门店/取件门店/司机)分别记录评分 |
| | | * |
| | |
| | | */ |
| | | void printOrderLabel(Integer orderId, Integer shopId); |
| | | |
| | | /** |
| | | * 即将到达取件时间通知 |
| | | * @return 通知数量 |
| | | */ |
| | | int notifyArrivalPickUp(); |
| | | |
| | | /** |
| | | * 订单异常处理:异地无取件门店已送达订单,创建就地存取新订单 |
| | | */ |
| | | void handleOrderException(HandleOrderExceptionDTO dto); |
| | | |
| | | /** |
| | | * 校验操作半径 |
| | | * @param orderId 订单主键 |
| | | * @param userId 操作用户主键 |
| | | * @param userType 用户类型:0=门店;1=司机 |
| | | * @param lng 操作人经度 |
| | | * @param lat 操作人纬度 |
| | | * @return true=在允许操作范围内;false=超出允许操作范围 |
| | | */ |
| | | Boolean checkOperationRadius(Integer orderId, Integer userId, Integer userType, Double lng, Double lat); |
| | | |
| | | } |