AlarmRuleConfigService.java
1.3 KB
package com.skua.modules.alarm.service;
import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.core.api.vo.Result;
import com.skua.modules.alarm.entity.AlarmRuleAndRuleLevelConfig;
import com.skua.modules.alarm.entity.AlarmRuleConfig;
import com.skua.modules.alarm.vo.AlarmRuleAndAlarmRuleLevelVO;
import com.skua.modules.alarm.vo.AlarmRuleConfigVO;
/**
* @program: fmPlatform
* @description:
* @author: xie chao
* @create: 2020-11-02 09:59
*/
public interface AlarmRuleConfigService extends IService<AlarmRuleConfig> {
void addRuleConfig(Result result,AlarmRuleAndRuleLevelConfig alarmRuleAndRuleLevelConfig);
Page<AlarmRuleAndAlarmRuleLevelVO> getAlarmRuleAndAlarmRuleLevePage(Page<AlarmRuleAndAlarmRuleLevelVO> page, QueryWrapper<AlarmRuleAndAlarmRuleLevelVO> queryWrapper);
List<AlarmRuleAndAlarmRuleLevelVO> getAlarmRuleAndAlarmRuleLeveList(QueryWrapper<AlarmRuleAndAlarmRuleLevelVO> queryWrapper);
Page<AlarmRuleConfigVO> getPage(Page<AlarmRuleConfigVO> page, QueryWrapper<AlarmRuleConfigVO> queryWrapper);
List<AlarmRuleAndAlarmRuleLevelVO> getAlarmList(String nowDateTime, String lastDateTime);
}