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
66
67
68
69
70
71
72
73
74
75
76
77
package com.shlanbao.tzsc.pms.md.eqptype.service;
 
import java.util.List;
 
 
 
 
 
 
 
import com.shlanbao.tzsc.base.mapping.MdEqpType;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.md.eqptype.beans.MdEqpTypeBean;
 
 
 
/**
 * 设备类型与型号业务类
 * @author liuligong 
 * @Time 2014/11/17 9:50
 */
public interface MdEqpTypeServiceI {
    /**
     * 设备型号新增或者编辑
     * @param mdEqpTypeBean 设备型号Bean对象
     * @throws Exception 
     */
    public void addMdType(MdEqpTypeBean mdEqpTypeBean) throws Exception;
    
    /**
     * 根据id获取设备类型
     * @param id
     * @throws Exception
     */
    public MdEqpTypeBean getTypeById(String id) throws Exception;
    
    /**
     * 查询设备类型
     * @param mdTypeBean 设备类型bean
     * @param pageParams
     * @return 设备类型Grid
     * @throws Exception
     */
    public DataGrid queryMdType(MdEqpTypeBean mdTypeBean,PageParams pageParams) throws Exception;
    
    /**
     * 删除设备型号
     * @param id
     * @throws Exception
     */
    public void deleteMdType(String id)throws Exception;
    
    /**
     * 查询设备型号列表
     * @return
     * @throws Exception
     */
    public List<MdEqpTypeBean> queryMdType(String categoryId)throws Exception;
    
    /**
     * 
    * @Title: queryMdEqpTypeByCategory 
    * @Description: 获取卷烟机、包装机和成型机的机型
    * @throws Exception    设定文件 
    * @return List<MdEqpTypeBean>    返回类型 
    * @throws
     */
    public List<MdEqpTypeBean> queryMdEqpTypeByCategory(String[] categoryIds)throws Exception;
 
 
    /**
     * 批量删除
     * @param ids
     */
    void batchDeleteMdType(String ids);
}