package com.yd.csf.service.service;

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.dto.CommissionRuleConfigDto;
import com.yd.csf.service.model.CommissionRuleConfig;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 基本法配置表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-10-15
 */
public interface ICommissionRuleConfigService extends IService<CommissionRuleConfig> {

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

    List<CommissionRuleConfig> queryList(CommissionRuleConfigDto dto);

    CommissionRuleConfig queryOne(String ruleBizId);
}
