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
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
97
98
99
100
101
102
103
104
package com.shlanbao.tzsc.pms.qm.proc.service;
 
import java.util.List;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
 
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.qm.proc.beans.QmProcFileBean;
import com.shlanbao.tzsc.pms.qm.proc.beans.QmProcManageBean;
/**
 * 工艺规程业务接口
 * @author luther.zhang
 * @create 2014-12-25
 */
public interface QmProcManageService {
    /**
     * 查询
     */
    DataGrid queryList(QmProcManageBean bean,PageParams pageParams) throws Exception;
    /**
     * 根据ID查询
     */
    DataGrid queryListById(String id,PageParams pageParams) throws Exception;
    /**
     * 新建
     * @author luther.zhang
     * @create 2014-12-25
     * @param bean
     * @return
     */
    String addBean(QmProcManageBean bean) throws Exception;
    /**
     * 修改
     * @author luther.zhang
     * @create 2014-12-25
     * @param bean
     */
    void editBean(QmProcManageBean bean) throws Exception;
    /**
     * 删除
     * @author luther.zhang
     * @create 2014-12-25
     * @param id
     */
    void deleteBean(String id) throws Exception;
    /**
     * 批量删除
     * @author luther.zhang
     * @create 2014-12-25
     * @param ids
     */
    void batchDeleteByIds(String ids) throws Exception;
    /**
     * 根据id获取对象
     * @author luther.zhang
     * @create 2014-12-25
     * @param id
     * @return
     */
    QmProcManageBean getBeanById(String id) throws Exception;
    /**
     * 批量添加
     * @author luther.zhang
     * @create 2014-12-25
     * @param beans
     * @throws Exception
     */
    void batchInsert(List<QmProcManageBean> beans) throws Exception;
    
    /**
     * 文件修改,上传
     * @param session
     * @param request
     * @param fmBean
     * @throws Exception
     */
    void fileUpdate(String procManageId,HttpSession session, HttpServletRequest request,
            QmProcFileBean fmBean) throws Exception;
    
    /**
     * 审核
     * @author luther.zhang
     * @create 2014-12-30
     * @param bean
     */
    void editReview(String ids,String status,HttpSession session) throws Exception;
    /**
     * 下发
     * @author luther.zhang
     * @create 2014-12-30
     * @param bean
     */
    void editSend(String ids,String status,HttpSession session) throws Exception;
    /**
     * 批量删除
     * @author luther.zhang
     * @create 2014-12-30
     * @param ids
     */
    void deleteFiles(String ids,HttpSession session) throws Exception;
 
}