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.conditiontype.ApiConditionTypePageRequest;
import com.yd.csf.feign.response.conditiontype.ApiConditionTypePageResponse;
import com.yd.csf.service.dto.ConditionTypeDto;
import com.yd.csf.service.model.ConditionType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 条件类型表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-10-17
 */
public interface IConditionTypeService extends IService<ConditionType> {

    List<ConditionType> queryList(ConditionTypeDto dto);

    ConditionType queryOne(String conditionTypeBizId);

    IPage<ApiConditionTypePageResponse> page(Page<ApiConditionTypePageResponse> page,
                                             ApiConditionTypePageRequest request);
}
