package com.yeejoin.amos.boot.module.ccs.api.mapper;

import com.yeejoin.amos.boot.module.ccs.api.dto.FireBuildingDto;
import com.yeejoin.amos.boot.module.ccs.api.entity.FireBuilding;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 消防建筑表 Mapper 接口
 *
 * @author system_generator
 * @date 2021-11-09
 */
public interface FireBuildingMapper extends BaseMapper<FireBuilding> {

	List<FireBuildingDto> getFireBuildingByMridIntreeMrids(@Param("mrid") String mrid);


	/**
	 * @param parentMrid
	 * @Description 根据parentMrid查询其下资源（楼层、房间）
	 * @Return List<Map < String, Object>>
	 * @Date 2020/12/19 15:06
	 */
	List<Map<String, Object>> queryFloorRoom(@Param("parentMrid") String parentMrid);
}
