package cn.iocoder.yudao.module.bi.service.decision;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
import cn.iocoder.yudao.module.bi.controller.admin.decision.vo.DecisionAlertRulePageReqVO;
|
import cn.iocoder.yudao.module.bi.dal.dataobject.decision.BiAlertRuleDO;
|
|
import jakarta.validation.Valid;
|
|
/**
|
* 预警规则 Service 接口
|
*
|
* @author 超级管理员
|
*/
|
public interface BiAlertRuleService {
|
|
Long createRule(@Valid BiAlertRuleDO rule);
|
|
void updateRule(@Valid BiAlertRuleDO rule);
|
|
void deleteRule(Long id);
|
|
BiAlertRuleDO getRule(Long id);
|
|
PageResult<BiAlertRuleDO> getRulePage(DecisionAlertRulePageReqVO pageReq);
|
|
}
|