package com.ruoyi.order.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ruoyi.common.core.domain.R;
|
import com.ruoyi.order.model.Order;
|
import com.ruoyi.order.vo.*;
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author luodangjia
|
* @since 2024-11-21
|
*/
|
public interface OrderService extends IService<Order> {
|
List<OrderVO> selectOrderListByUserId(Integer status,Long userId);
|
|
OrderDetailVO getOrderDetail(Long orderId);
|
|
boolean check(Order order, Integer shopId, Long userId);
|
|
void writeOff(String code,Integer shopId);
|
|
|
/**
|
* 获取管理后台订单列表数据
|
* @param orderPageList
|
* @return
|
*/
|
List<OrderPageListVo> getOrderPageList(OrderPageList orderPageList);
|
|
|
/**
|
* 确认发货操作
|
* @param orderId
|
* @param code
|
* @return
|
*/
|
R confirmDelivery(String orderId, String code);
|
|
|
/**
|
* 取消订单操作
|
* @param orderId
|
* @return
|
*/
|
R cancelOrder(Long orderId);
|
|
|
/**
|
* 返回订单支付金额和回退积分和会员等级
|
* @param order
|
*/
|
void refundPayMoney(Order order);
|
|
|
/**
|
* 收货操作
|
* @param orderId
|
* @return
|
*/
|
R receivingOperation(Long orderId);
|
|
|
/**
|
* 获取订单详情
|
* @param orderId
|
* @return
|
*/
|
OrderInfoVo getOrderInfo(Long orderId);
|
}
|