package com.casic.missiles.modular.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.casic.missiles.modular.system.dto.AlarmNowView;
import com.casic.missiles.core.datascope.DataScope;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author casic123
 * @since 2019-05-17
 */
public interface AlarmNowViewMapper extends BaseMapper<AlarmNowView> {

    List<AlarmNowView> getNowAlarmRecords(@Param("scope") DataScope dataScope);

    List<AlarmNowView> getAlarmsByWell(@Param("id") Long id);
}
