package com.yd.csf.service.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.csf.feign.request.commissionruleconfig.ApiCommissionRuleConfigPageRequest;
import com.yd.csf.feign.response.commissionruleconfig.ApiCommissionRuleConfigPageResponse;
import com.yd.csf.service.model.CommissionRuleConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 基本法配置表 Mapper 接口
 * </p>
 *
 * @author zxm
 * @since 2025-10-15
 */
public interface CommissionRuleConfigMapper extends BaseMapper<CommissionRuleConfig> {

    IPage<ApiCommissionRuleConfigPageResponse> page(@Param("page") Page<ApiCommissionRuleConfigPageResponse> page,
                                                    @Param("request") ApiCommissionRuleConfigPageRequest request);

}
