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
package com.shlanbao.tzsc.pms.equ.lubricate.service;
 
import java.util.List;
 
import com.shlanbao.tzsc.base.mapping.EqmLubricant;
import com.shlanbao.tzsc.base.mapping.EqpLubricantRecord;
import com.shlanbao.tzsc.base.mapping.SysEqpCategory;
import com.shlanbao.tzsc.base.mapping.SysRole;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.equ.lubricate.beans.EqmLubricantBean;
/**
* @ClassName: EqmLubricantServiceI 
* @Description: 润滑计划管理 
* @author luo
* @date 2015年7月8日 下午3:18:20 
*
 */
public interface EqmLubricantServiceI {
    /**
    * @Title: addBean 
    * @Description: 新增  
    * @param  bean
    * @return boolean    返回类型 
    * @throws
     */
    public boolean addBean(EqmLubricant bean);
    /**
    * @Title: updateBean 
    * @Description: 修改  
    * @param  bean
    * @return boolean    返回类型 
    * @throws
     */
    public boolean updateBean(EqmLubricantBean bean);
    /**
    * @Title: searchBean 
    * @Description: 查询  
    * @param  bean
    * @return DataGrid    返回类型 
    * @throws
     */
    public DataGrid searchBean(EqmLubricantBean bean,PageParams pageParams);
    /**
    * @Title: getBeanById 
    * @Description: 根据Id查询  
    * @param  id
    * @return EqmLubricant    返回类型 
    * @throws
     */
    public EqmLubricant getBeanById(String id);
    /**
     * @throws Exception 
    * @Title: getBeanByIds 
    * @Description: 根据Id查询  
    * @param  id
    * @return EqmLubricantBean    返回类型 
    * @throws
     */
    public EqmLubricantBean getBeanByIds(String id) throws Exception;
    
    public List<?> getListBySql(String sql);
    
    public DataGrid queryEqmLubricationById(SysEqpCategory mdTypeBean,
            PageParams pageParams);
    
    public List<SysRole> getRoleAll();
    public void deleteLubrCycle(String id);
    public DataGrid queryLubricantRec(EqpLubricantRecord eqmFixRecBean, PageParams pageParams);
 
    /**
     * 批量删除
     * @param ids
     */
    void batchDeleteLubrCycle(String ids);
}