package com.kxs.store.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.store.api.dto.kxsapp.storeOrder.OrderMonthTotalDTO;
import com.kxs.store.api.dto.kxsapp.storeOrder.OrderMonthTotalDetailDTO;
import com.kxs.store.api.model.KxsSendTotal;
import com.kxs.store.api.vo.kxsapp.storeOrder.OrderMonthTotalDetailVO;
import com.kxs.store.api.vo.kxsapp.storeOrder.OrderMonthTotalVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 客小爽仓库发货统计表(KxsSendTotal)表数据库访问层
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@Mapper
public interface KxsSendTotalMapper extends BaseMapper<KxsSendTotal> {

    /**
     * 订单管理-发货统计
     *
     * @param page  页
     * @param param 参数
     * @return {@link IPage}<{@link OrderMonthTotalVO}>
     */
    IPage<OrderMonthTotalVO> orderMonthTotal(Page<OrderMonthTotalVO> page, @Param("param") OrderMonthTotalDTO param);

    /**
     * 订单管理-发货统计明细
     *
     * @param page  页
     * @param param 参数
     * @return {@link IPage}<{@link OrderMonthTotalDetailVO}>
     */
    IPage<OrderMonthTotalDetailVO> orderMonthTotalDetail(Page<OrderMonthTotalDetailVO> page, @Param("param") OrderMonthTotalDetailDTO param);

}

