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;
|
}
|