zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.shlanbao.tzsc.pms.msg.cons.service;
 
import java.util.Date;
import java.util.List;
 
import com.shlanbao.tzsc.base.mapping.MsgConWarn;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.msg.cons.beans.MsgConWarnBean;
 
/**
 * 单耗告警服务接口
 * @author yangbo
 *
 */
public interface MsgConWarnServiceI {
    /**
     * 添加或者修改单耗告警信息
     * @param msgConWarn
     * @throws Exception
     */
    public void addMsgConWarn(MsgConWarn msgConWarn)throws Exception;
    
    /**
     * 分页带条件查询单耗告警列表
     * @param msgConWarn
     * @param pageParams
     * @return
     * @throws Exception
     */
    public DataGrid queryMsgConWarn(MsgConWarnBean msgConWarn,PageParams pageParams,Date startTime,Date endTime)throws Exception;
    
    /**
     * 通过读取状态获取单耗告警列表
     * @param sts
     * @return
     * @throws Exception
     */
    public List<MsgConWarnBean> getMsgConWarns(long sts)throws Exception;
    
    /**
     * 通过ID获取单耗告警记录实体
     * @param id
     * @return
     * @throws Exception
     */
    public MsgConWarn getMsgConWarnById(String id)throws Exception;
    
    /**
     * 通过ID获取单耗告警记录BEAN
     * @param id
     * @return
     * @throws Exception
     */
    public MsgConWarnBean getMsgConWarnBeanById(String id)throws Exception;
    
    /**
     * 通过ID删除单耗告警记录
     * @param id
     * @throws Exception
     */
    public void deleteMsgConWarnById(String id)throws Exception;
 
    void batchdeleteMsgConWarn(String ids);
}