package com.yuchen.saas.park.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuchen.saas.park.api.entity.park.PmgBatPointLocationInfo;
import com.yuchen.saas.park.api.vo.park.PmgEquipmentPointVo;

import java.util.List;

/**
 * (PmgBatPointLocationInfo)表数据库访问层
 * @author 任业政
 * @since 2021-09-13 11:23:02
 */
public interface PmgBatPointLocationInfoMapper extends BaseMapper<PmgBatPointLocationInfo> {

    /**
     * 根据场景id查询出所有和点位关联的设备点位信息
     * @param parkId
     * @param buildingId
     * @param floorId
     * @param roomId
     * @return
     */
    List<PmgEquipmentPointVo> selectByAllEquipmentPoint (Long parkId, Long buildingId, Long floorId, Long roomId);

    List<PmgBatPointLocationInfo> selectAllLocationPoint (Long parkId, Long buildingId, Long floorId, Long roomId);

}