package com.kxs.product.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kxs.product.api.model.KxsShopOrder;
import com.kxs.product.api.vo.kxsapp.shop.ShopOrderListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商城订单表(KxsShopOrder)表数据库访问层
 *
 * @author 系统
 * @since 2023-12-20 10:09:35
 */
@Mapper
public interface KxsShopOrderMapper extends BaseMapper<KxsShopOrder> {

    /**
     * kxs app 订单列表 一对多分页
     *
     * @param start   起始数量
     * @param size    数量
     * @param param   参数
     * @return {@link List}<{@link ShopOrderListVO}>
     */
    List<ShopOrderListVO> getByPage(@Param("start") long start, @Param("size") long size, @Param("query") KxsShopOrder param);
}

