package com.zcloud.zcGbsServicer.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zcloud.zcGbsServicer.persistence.dataobject.FireAlarmInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FireAlarmInfoMapper extends BaseMapper<FireAlarmInfoDO> {

    IPage<FireAlarmInfoDO> selectPageSql(IPage<FireAlarmInfoDO> page,
                                         @Param("tenantId") Long tenantId,
                                         @Param("fireBrigadeName") String fireBrigadeName,
                                         @Param("alarmStatus") Integer alarmStatus,
                                         @Param("fireBrigadeIds") List<String> fireBrigadeIds,
                                         @Param("feedbackOnly") Boolean corpinfoId);
}
