package com.casic.missiles.modular.alarm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.casic.missiles.modular.system.model.AlarmRecords;
import com.casic.missiles.core.datascope.DataScope;

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

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author casic123
 * @since 2019-05-17
 */
public interface IAlarmRecordsService extends IService<AlarmRecords> {

    List<Map<String,Object>> alarmList(Page<Map<String,Object>> page, String keywords, String beginTime, String endTime, String status, String alarmType, String alarmContent, DataScope dataScope);

    List<AlarmRecords> alarmListNoPage(DataScope dataScope, String keywords, String alarmType, String alarmContent,String beginTime, String endTime);

    boolean cancelAlarm(int id,String jobStatus, String handleMessage, long personId);
}
