package com.yd.base.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yd.base.feign.request.species.ApiSpeciesPageRequest;
import com.yd.base.feign.response.species.ApiSpeciesPageResponse;
import com.yd.base.service.dto.SpeciesDto;
import com.yd.base.service.model.Species;

import java.util.List;

/**
 * <p>
 * 规格表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-11-20
 */
public interface ISpeciesService extends IService<Species> {

    IPage<ApiSpeciesPageResponse> page(Page<ApiSpeciesPageResponse> page,
                                       ApiSpeciesPageRequest request);

    List<Species> queryList(SpeciesDto dto);

    Species queryOne(String speciesBizId);
}
