xiaoyi
4 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
 
}