package com.czg.service.market.mapper;

import com.czg.market.vo.PpOrderListVO;
import com.czg.order.dto.GbOrderQueryParam;
import com.czg.order.vo.GbOrderCountVO;
import com.mybatisflex.core.BaseMapper;
import com.czg.market.entity.PpPackageOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 套餐推广订单 映射层。
 *
 * @author gyj
 * @since 2025-12-18
 */
public interface PpPackageOrderMapper extends BaseMapper<PpPackageOrder> {

    List<PpOrderListVO> getOrderList(@Param("shopId") Long shopId,
                                     @Param("userId") Long userId,
                                     @Param("param") GbOrderQueryParam param);

    GbOrderCountVO getOrderCount(@Param("shopId") Long shopId, @Param("param") GbOrderQueryParam param);
}
