package com.xzzn.ems.mapper;

import org.apache.ibatis.annotations.Param;

/**
 * 单站监控展示数据 Mapper
 */
public interface EmsSiteMonitorDataMapper {
    String selectHistoryJsonByMinute(@Param("tableName") String tableName,
                                     @Param("siteId") String siteId,
                                     @Param("statisMinute") java.util.Date statisMinute);

    int upsertHistoryJsonByMinute(@Param("tableName") String tableName,
                                  @Param("siteId") String siteId,
                                  @Param("statisMinute") java.util.Date statisMinute,
                                  @Param("dataJson") String dataJson,
                                  @Param("hotSoc") String hotSoc,
                                  @Param("hotTotalActivePower") String hotTotalActivePower,
                                  @Param("hotTotalReactivePower") String hotTotalReactivePower,
                                  @Param("hotDayChargedCap") String hotDayChargedCap,
                                  @Param("hotDayDisChargedCap") String hotDayDisChargedCap,
                                  @Param("operName") String operName);
}
