package com.clx.performance.mapper.breakcontract;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.model.breakcontract.BreakContractOwnerRule;
import com.clx.performance.param.pc.breakcontract.carrier.PageBreakContractOwnerRuleParam;
import com.clx.performance.sqlProvider.breakcontract.BreakContractOwnerRuleSqlProvider;
import com.clx.performance.vo.pc.breakcontract.carrier.BreakContractOwnerRuleVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * @author liruixin
 * Date 2023-10-24
 * Time 16:02
 */
public interface BreakContractOwnerRuleMapper extends BaseMapper<BreakContractOwnerRule> {

    /**
     * @see BreakContractOwnerRuleSqlProvider#pageByParam(com.baomidou.mybatisplus.extension.plugins.pagination.Page, com.clx.performance.param.pc.breakcontract.carrier.PageBreakContractOwnerRuleParam)
     */
    @SelectProvider(type = BreakContractOwnerRuleSqlProvider.class, method = "pageByParam")
    IPage<BreakContractOwnerRuleVO> pageByParam(@Param("page") Page<BreakContractOwnerRuleVO> page, @Param("param") PageBreakContractOwnerRuleParam param);

}
