123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- package com.caimei365.order.mapper;
- import com.caimei365.order.model.vo.DiscernReceiptVo;
- import com.caimei365.order.model.vo.OrderProductVo;
- import com.caimei365.order.model.vo.PromotionsVo;
- import com.caimei365.order.model.vo.ShopOrderVo;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * Description
- *
- * @author : Charles
- * @date : 2021/7/26
- */
- @Mapper
- public interface OrderCommonMapper {
- /**
- * 查询订单发货次数
- * @param orderId 订单Id
- */
- int countLogisticsBatch(Integer orderId);
- /**
- * 根据子订单Id查询子订单列表
- * @param shopOrderIds 子订单Ids
- */
- List<ShopOrderVo> getShopOrderList(@Param("shopOrderIds") List<String> shopOrderIds);
- /**
- * 根据Id获取订单促销
- * @param orderPromotionsId 订单促销Id
- */
- PromotionsVo getOrderPromotionsById(Integer orderPromotionsId);
- /**
- * 获取子订单订单商品
- * @param shopOrderId 子订单Id
- */
- List<OrderProductVo> getShopOrderProduct(Integer shopOrderId);
- /**
- * 支付记录(收款记录)
- * @param orderId 订单Id
- */
- List<DiscernReceiptVo> getDiscernReceipt(Integer orderId);
- /**
- * 获取返佣款
- * @param shopOrderId 子订单Id
- */
- Double getRebateAmountByShopOrder(Integer shopOrderId);
- /**
- * 是否可以走线上支付
- * @param orderId 订单Id
- */
- int countOfflinePayment(Integer orderId);
- /**
- * 付供应商费用列表
- * @param orderId 订单Id
- */
- List<Double> getShouldPayShopAmountList(Integer orderId);
- }
|