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.formulaconfig.ApiFormulaConfigPageRequest;
import com.yd.csf.feign.response.formulaconfig.ApiFormulaConfigPageResponse;
import com.yd.csf.service.dto.FormulaConfigDto;
import com.yd.csf.service.model.FormulaConfig;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 公式配置表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-10-17
 */
public interface IFormulaConfigService extends IService<FormulaConfig> {

    IPage<ApiFormulaConfigPageResponse> page(Page<ApiFormulaConfigPageResponse> page,
                                             ApiFormulaConfigPageRequest request);

    List<FormulaConfig> queryList(FormulaConfigDto dto);

    FormulaConfig queryOne(String formulaBizId);
}
