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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package com.shlanbao.tzsc.pms.equ.sbglplan.service;
 
 
import java.util.List;
import java.util.Map;
 
import com.shlanbao.tzsc.base.mapping.EqmWheelCovelParam;
import com.shlanbao.tzsc.base.mapping.EqmWheelCovelPlan;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.equ.sbglplan.beans.EqmPlanBean;
import com.shlanbao.tzsc.pms.equ.sbglplan.beans.EquipmentsBean;
import com.shlanbao.tzsc.pms.equ.wcplan.beans.BatchWCPlan;
/**
 * 
* @ClassName: EqmPlanServiceI 
* @Description: 设备轮保管理 
*
 */
public interface EqmPlanServiceI {
    /**
     * 根据维保小项目查询当前项目对象
     * @param id
     * @return
     */
    public EqmWheelCovelParam queryDetailById(String id);
    /** 
     * 查询设备主数据
     * @param equBean  设备主数据Bean对象
     * @param pageParams 查询参数
     * @return
     */
    public DataGrid queryEqu(EquipmentsBean equBean,PageParams pageParams) throws Exception;
    /**
     * 根据设备型号ID查询对应的轮保规则
     * @return
     */
    public DataGrid queryEqpTypeChild(EquipmentsBean equBean,PageParams pageParams)throws Exception;
    /**
     * 设备轮保计划新增
     * @param eqmResumeBean
     * @param userId
     * @throws Exception
     */
    public EqmWheelCovelPlan addWCPlan(EqmPlanBean wcpBean, String userId) throws Exception;
    /**
     * 添加计划对应的设备
     * @param planBean
     * @throws Exception
     */
    public void addEqmWheelCovelParam(EqmWheelCovelPlan planBean,String ruleID) throws Exception;
    /**
     * 
     * @param id
     * @return
     * @throws Exception
     */
    public EqmPlanBean getById(String id) throws Exception;
    /**
     * 设备轮保计划修改
     * @param eqmResumeBean
     * @param userId
     * @throws Exception
     */
    public void editWCPlan(EqmPlanBean wcpBean, String userId) throws Exception;
    
    /**
     * 根据主键ID 修改状态
     * @param id        主键ID
     * @param statusId    状态:0 新增 1.审核 ,2批准
     * @param userId
     */
    public void updateWCPlanStatus(String id, String statusId,String userId);
    /**
     * 根据计划主键ID 查询维护项目
     * @return
     */
    public DataGrid queryBeanList(EqmWheelCovelParam bean)throws Exception;
    
    public void batchUpdateWCPlanStatus(String id, String statusId,String userId);
    
    /**
     * 【功能说明】:设备轮保批量添加
     * 
     * */
    public String saveWcPlanf(EqmWheelCovelPlan ep);
    
    
    public List<?> queryEqpTypeChild(BatchWCPlan b);
    
    public Map<String,String> querySysEqpType(BatchWCPlan b);
    
    public void saveWcParam(EqmWheelCovelParam ecpb);
    public void deleteWCPlan(String id);
    public void edit(String id);
}