xinyb
2024-07-17 b18bafa57176ae38541587a97dde3b3da25a1034
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
package com.yc.service.panel;
 
import com.yc.entity.FormLoadParameterEntity;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
 
/**
 * 
 * @author pengbei
 * 
 */
public interface PanelManageDao {
    /**
     * 获得页面上真正显示的Id (不是数据库的列字段了)
     * 
     * @param maplist  集合 保存Id信息与数据库字段对应关系
     * @param filed    匹配数控字段的map集合的Key
     * @param mapValue 数据库字段
     * @return 网页的控件Id
     */
    public abstract String getMapsKay(Map<String, Map<String, String>> maplist, String filed, String mapValue);
    
 
    /**
     * 针对18类型窗体函数类型
     * 
     * @param tableis 设置中的表名
     * @param where   查询所成的条件
     * @return 返回二次转换的sql中或直接的集合返回
     */
    public abstract List<Map<String, Object>> getFromEnd(String sql, String tableis, String where, int formType,
            HttpServletRequest request) throws Exception;
 
 
    /**
     * 针对20 ,30窗体类型
     * @param sql
     * @param tableis
     * @param where
     * @param formId
     * @param formType
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public abstract List<Map<String, Object>> getFromEndOrder(String sql, String tableis, String where, Integer formId , Integer formType,
                                                              HttpServletRequest request, HttpServletResponse response) throws Exception;
    /**
     * 复单的时候调用
     * @return
     * @throws Exception
     */
    public abstract List<Map<String, Object>> getFromEnd(String sql, String tableis, String where, int formType,
            String copy, HttpServletRequest request) throws Exception;
 
    public abstract String getDocstatus(String where, int fromid, String tabs, HttpServletRequest request)
            throws Exception;
 
    public abstract String getMultiTableWhere(HttpServletRequest request,String wherePan, int FT, String FK, String SeekGroupID, Boolean bol)
            throws Exception;
 
    public abstract void getMultiTableList(HttpServletRequest request,Map<String, Object> docMap,boolean bol);
 
    //旧版本 后期删
    public abstract String getMultiTableWhere(String wherePan, int FT, String FK, String SeekGroupID, Boolean bol)
            throws Exception;
 
    //旧版本 后期删
    public abstract void getMultiTableList(Map<String, Object> docMap);
 
    int getCancelButton(String sql);// 查找当前页面是否可以显示取消确认按钮
    
    /**
     * 加载功能号数据数据信息 xin 2021-1-26 16:00:29
     * @return
     * @throws Exception
     */
    public List<Map<String, Object>> getFormLoad(FormLoadParameterEntity formLoad) throws Exception;
    
    /**
     * OA审核加载新界面数据 xin 2021-2-1 09:33:18
     * @param formId
     * @param docState
     * @param doccode
     * @param request
     * @return
     * @throws Exception
     */
    public List<Object> getOAVerifyMethod(int formId, int docState, String doccode,HttpServletRequest request) throws Exception;
}