package com.yd.base.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.base.feign.request.speciestype.ApiSpeciesTypePageRequest;
import com.yd.base.feign.response.speciestype.ApiSpeciesTypePageResponse;
import com.yd.base.service.dto.SpeciesTypeDto;
import com.yd.base.service.model.SpeciesType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 规格类型表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-11-21
 */
public interface ISpeciesTypeService extends IService<SpeciesType> {

    IPage<ApiSpeciesTypePageResponse> page(Page<ApiSpeciesTypePageResponse> page,
                                           ApiSpeciesTypePageRequest request);

    List<SpeciesType> queryList(SpeciesTypeDto dto);

    SpeciesType queryOne(String speciesTypeBizId);
}
