package com.zcloud.personnel.positioning.persistence.repository;

import com.zcloud.personnel.positioning.persistence.dataobject.AlarmTypeStatDO;
import com.zcloud.personnel.positioning.persistence.dataobject.AlarmRecordDO;
import com.alibaba.cola.dto.PageResponse;
import com.jjb.saas.framework.repository.repo.BaseRepository;

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

/**
 * web-infrastructure
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
public interface AlarmRecordRepository extends BaseRepository<AlarmRecordDO> {
    PageResponse<AlarmRecordDO> listPage(Map<String, Object> params);

    List<AlarmRecordDO> listBiAlarm(String corpinfoId, Integer portArea);

    List<AlarmTypeStatDO> listBiAlarmType(String corpinfoId);
}
