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.equ.lubricate.service;
 
import java.util.List;
 
import com.shlanbao.tzsc.base.mapping.EqmLubricantMaintain;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.equ.lubricate.beans.EquLubricantMaintainBean;
 
/**
 * 设备润滑管理接口
 * @author liuligong
 *
 */
public interface EqmLubricantMaintainServiceI {
    /**
     * @TODO 添加润滑管理
     * @param object
     * @throws Exception
     */
    public void addLubricate(EqmLubricantMaintain equLubricantMaintain)throws Exception;
    
    /**
     * @TODO 查询设备润滑管理列表
     * @param object
     * @param pageParams
     * @return
     * @throws Exception
     */
    public DataGrid queryLubricate(EqmLubricantMaintain equLubricantMaintain,PageParams pageParams)throws Exception;
    
    /**
     * 获取所有的润滑剂
     * @return
     * @throws Exception
     */
    public List<EquLubricantMaintainBean> queryAllLubricant(String type)throws Exception;
    
    
    /**
     * 根据ID 查询其下的所有子类
     * @param key
     * @return
     * @throws Exception
     */
    public List<EquLubricantMaintainBean> queryListById(String key,String type) throws Exception;
    
    /**
     * 根据ID获取设备润滑管理
     * @param id
     * @return
     * @throws Exception
     */
    public Object getLubricateById(String id)throws Exception;
    
    /**
     * 根据ID删除设备润滑管理
     * @param id
     * @throws Exception
     */
    public void deleteLuricateById(String id)throws Exception;
 
    /**
     * 批量删除
     * @param ids
     */
    void batchDeleteLubricant(String ids);
}