package com.huimv.env.admin.mapper;

import com.huimv.env.admin.entity.BasePigpen;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huimv.env.admin.entity.dto.ListPigpenDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-05-06
 */
public interface BasePigpenMapper extends BaseMapper<BasePigpen> {
    int getMaxBuildNum(String parentId);

    List<ListPigpenDto> listPigpen(Integer farmId);

}
