Пример #1
0
 /**
  * 初始化查询的各个列
  *
  * @param request web请求对象
  */
 private void initQueryItem(HttpServletRequest request) {
   if (isInitQuery) return;
   EngineDataSet master = dsXsTable;
   // 初始化固定的查询项目
   // 往来单位dwtxId;信誉额度xyed;信誉等级xydj;回款天数hkts;
   fixedQuery.addShowColumn(
       "",
       new QueryColumn[] {
         new QueryColumn(master.getColumn("dwtxid"), null, null, null, null, "="),
         new QueryColumn(master.getColumn("nf"), null, null, null, null, "="),
         new QueryColumn(master.getColumn("yf"), null, null, null, null, "=")
       });
   isInitQuery = true;
 }
Пример #2
0
 /**
  * 初始化查询的各个列
  *
  * @param request web请求对象
  */
 private void initQueryItem(HttpServletRequest request) {
   if (isInitQuery) return;
   EngineDataSet master = dsxs_khcpzkTable;
   if (!master.isOpen()) master.open();
   // 初始化固定的查询项目
   fixedQuery.addShowColumn(
       "",
       new QueryColumn[] {
         new QueryColumn(master.getColumn("dwtxid"), null, null, null, null, "="),
         new QueryColumn(master.getColumn("cpid"), null, null, null, null, "="),
         new QueryColumn(master.getColumn("zk"), null, null, null, "a", ">="),
         new QueryColumn(master.getColumn("zk"), null, null, null, "b", "<=")
       });
   isInitQuery = true;
 }
Пример #3
0
 /**
  * 初始化查询的各个列
  *
  * @param request web请求对象
  */
 private void initQueryItem(HttpServletRequest request) {
   if (isInitQuery) return;
   EngineDataSet master = dsSaleOrderProduct;
   // EngineDataSet detail = dsDetailTable;
   if (!master.isOpen()) master.open();
   // 初始化固定的查询项目
   fixedQuery = new QueryFixedItem();
   fixedQuery.addShowColumn(
       "",
       new QueryColumn[] {
         new QueryColumn(master.getColumn("tdbh"), null, null, null, null, "="), // 提单编号
         new QueryColumn(master.getColumn("dwtxid"), null, null, null, null, "="), // 购货单位
         new QueryColumn(master.getColumn("sfrq"), null, null, null, "a", ">="), // 提单日期
         new QueryColumn(master.getColumn("sfrq"), null, null, null, "b", "<="), // 提单日期
         new QueryColumn(master.getColumn("deptid"), null, null, null, null, "=") // 部门id
       });
   isInitQuery = true;
 }
Пример #4
0
 /**
  * 初始化查询的各个列
  *
  * @param request web请求对象
  */
 private void initQueryItem(HttpServletRequest request) {
   if (isInitQuery) return; // 已初始化查询条件
   EngineDataSet master = dsMasterTable;
   if (!master.isOpen()) master.open(); // 打开主表数据集
   // 初始化固定的查询项目
   fixedQuery = new QueryFixedItem();
   fixedQuery.addShowColumn(
       "",
       new QueryColumn[] {
         new QueryColumn(master.getColumn("htbh"), null, null, null),
         new QueryColumn(master.getColumn("htrq"), null, null, null, "a", ">="),
         new QueryColumn(master.getColumn("htrq"), null, null, null, "b", "<="),
         new QueryColumn(master.getColumn("ksrq"), null, null, null, "a", ">="),
         new QueryColumn(master.getColumn("ksrq"), null, null, null, "b", "<="),
         new QueryColumn(master.getColumn("jsrq"), null, null, null, "a", ">="),
         new QueryColumn(master.getColumn("jsrq"), null, null, null, "b", "<="),
         new QueryColumn(master.getColumn("dwtxid"), null, null, null, null, "="),
       });
   isInitQuery = true; // 初始化完成
 }