package com.xzzn.ems.mapper;

import com.xzzn.ems.domain.EmsSiteMonitorPointMatch;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 单站监控字段点位映射 Mapper
 */
public interface EmsSiteMonitorPointMatchMapper {
    List<String> selectDistinctSiteIds();

    List<EmsSiteMonitorPointMatch> selectBySiteId(@Param("siteId") String siteId);

    int deleteBySiteId(@Param("siteId") String siteId);

    int deleteBySiteIdAndDeviceId(@Param("siteId") String siteId, @Param("deviceId") String deviceId);

    int insertBatch(@Param("list") List<EmsSiteMonitorPointMatch> list);

    int updateEmsSiteMonitorPointMatch(EmsSiteMonitorPointMatch pointMatch);
}
