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

import com.zcloud.personnel.positioning.persistence.dataobject.AlarmTypeStatDO;
import com.zcloud.personnel.positioning.persistence.dataobject.AlarmRecordDO;
import com.zcloud.personnel.positioning.persistence.dataobject.CompanyOptionDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * web-infrastructure
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@Mapper
public interface AlarmRecordMapper extends BaseMapper<AlarmRecordDO> {
    List<AlarmRecordDO> selectBiAlarmList(@Param("corpinfoId") String corpinfoId,
                                          @Param("portArea") Integer portArea);

    List<AlarmTypeStatDO> selectBiAlarmTypeList(@Param("corpinfoId") String corpinfoId);

    List<CompanyOptionDO> listCompanyOptions(@Param("params") Map<String, Object> params);

    String findCorpinfoName(@Param("corpinfoId") String corpinfoId);
}
