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

import cn.stylefeng.team.project.modular.filing.entity.BusinessFlow;
import cn.stylefeng.team.project.modular.filing.pojo.businessFlow.query.BusinessFlowDetailRequest;
import cn.stylefeng.team.project.modular.filing.pojo.businessFlow.query.BusinessFlowListRequest;
import cn.stylefeng.team.project.modular.filing.pojo.businessFlow.query.BusinessFlowPageRequest;
import cn.stylefeng.team.project.modular.filing.pojo.businessFlow.response.BusinessFlowDetailResponse;
import cn.stylefeng.team.project.modular.filing.pojo.businessFlow.response.BusinessFlowListResponse;
import cn.stylefeng.team.project.modular.filing.pojo.businessFlow.response.BusinessFlowPageResponse;
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 BusinessFlowMapper extends BaseMapper<BusinessFlow> {

    BusinessFlowDetailResponse customDetail(@Param("param") BusinessFlowDetailRequest request);

    List<BusinessFlowListResponse> customList(@Param("param") BusinessFlowListRequest request);

    List<BusinessFlowPageResponse> customPage(@Param("page") Page page, @Param("param") BusinessFlowPageRequest request);

}