package cn.stylefeng.team.project.modular.filing.mapper;

import cn.stylefeng.team.project.modular.filing.entity.BusinessExcel;
import cn.stylefeng.team.project.modular.filing.pojo.businessExcel.query.BusinessExcelDetailRequest;
import cn.stylefeng.team.project.modular.filing.pojo.businessExcel.query.BusinessExcelListRequest;
import cn.stylefeng.team.project.modular.filing.pojo.businessExcel.query.BusinessExcelPageRequest;
import cn.stylefeng.team.project.modular.filing.pojo.businessExcel.response.BusinessExcelDetailResponse;
import cn.stylefeng.team.project.modular.filing.pojo.businessExcel.response.BusinessExcelListResponse;
import cn.stylefeng.team.project.modular.filing.pojo.businessExcel.response.BusinessExcelPageResponse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessExcelMapper extends BaseMapper<BusinessExcel> {

    BusinessExcelDetailResponse customDetail(@Param("param") BusinessExcelDetailRequest request);

    List<BusinessExcelListResponse> customList(@Param("param") BusinessExcelListRequest request);

    List<BusinessExcelPageResponse> customPage(@Param("page") Page page, @Param("param") BusinessExcelPageRequest request);

}