package com.whyc.mapper;
|
|
import com.whyc.dto.InterfaceParam;
|
import com.whyc.dto.paramter.DevAlarmPar;
|
import com.whyc.dto.result.AlarmRes;
|
import com.whyc.pojo.BattalarmData;
|
import com.whyc.pojo.BattalarmDataHistory;
|
import com.whyc.pojo.DevalarmDataHistory;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.Date;
|
import java.util.List;
|
|
public interface DevalarmDataHistoryMapper extends CustomMapper<DevalarmDataHistory> {
|
//设备告警历史查询
|
List serchByCondition(DevAlarmPar par);
|
|
//int getCount(DevAlarmPar param);
|
|
//List<DevalarmDataHistory> getList2(DevAlarmPar data);
|
|
List getDevAlarmHistory(List deviceIds);
|
|
int getCountForInterface(InterfaceParam param);
|
|
List getListForInterface(InterfaceParam param);
|
|
//查询分级告警的个数
|
int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId);
|
|
List<DevalarmDataHistory> getDataBeforeRetentionMonth(@Param("retentionTime") Date retentionTime);
|
|
List<BattalarmDataHistory> getLevelSubList(int uId, String tableName);
|
|
List<DevalarmDataHistory> getListByStationId(Date startTime, Date endTime, String stationId,String tableName);
|
|
}
|