zhuguifei
2026-03-10 2c1fd10c6fbabb8e9f0e9f07fe66fb36c008e883
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
66
67
68
package com.shlanbao.tzsc.pms.msg.qm.service;
 
import java.util.Date;
import java.util.List;
 
import com.shlanbao.tzsc.base.mapping.MsgQmWarn;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.msg.qm.beans.MsgQmWarnBean;
 
/**
 * 质量告警服务接口
 * @author yangbo
 *
 */
public interface MsgQmWarnServiceI {
    /**
     * 添加质量告警数据
     * @param msgQmWarn
     * @throws Exception
     */
    public void addMsgQmWarn(MsgQmWarn msgQmWarn)throws Exception;
    
    /**
     * 通过ID获取质量告警数据
     * @param id
     * @return
     * @throws Exception
     */
    public MsgQmWarn getMsgQmWarnById(String id)throws Exception;
    
    /**
     * 通过ID获取质量告警的BEAN 
     * @param id
     * @return
     * @throws Exception
     */
    public MsgQmWarnBean getMsgQmWarnBeanById(String id)throws Exception;
    
    /**
     * 分页查询质量告警数据
     * @param msgQmWarn 多条件查询
     * @param pageParams 分页的参数
     * @return
     * @throws Exception
     */
    public DataGrid queryMsgQmWarn(MsgQmWarnBean msgQmWarn,PageParams pageParams)throws Exception;
    
    /**
     * 通过读取状态获取质量告警信息
     * @return
     * @throws Exception
     */
    public List<MsgQmWarnBean> getMsgQmWarns(Long sts)throws Exception;
    
    /**
     * 通过ID删除质量告警信息
     * @param id
     * @throws Exception
     */
    public void deleteMsgQmWarn(String id)throws Exception;
 
    /**
     * 批量删除
     * @param ids
     */
    void batchDeleteMsgQmWarn(String ids);
}