{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "/**\
*Description:查询表格列，拼接sql语句\
*Author: xulei\
*Version: 1.0\
*Create Date Time: 2020-12-04\
*\
*/\
var data = app.get();\
var sql = '';\
if(!Wb.isEmpty(data.tableName)){\
  sql = sql + \"AND A.TABLE_NAME={?tableName?}\";\
}\
request.setAttribute(\"sql\",sql);"
  },
  "expanded": true,
  "children": [
   {
    "configs": {
     "itemId": "searchText",
     "string": "%{#query#}%"
    },
    "expanded": false,
    "children": [],
    "type": "string"
   },
   {
    "configs": {
     "itemId": "dataprovider1",
     "sql": "select b.COLUMN_NAME,b.COMMENTS\
from  dba_tab_columns A,dba_col_comments B\
where a.COLUMN_NAME=b.column_name\
and A.Table_Name = B.Table_Name\
and a.OWNER=UPPER('AG_SECP_SHHH') {#sql#}\
and COMMENTS like {?searchText?}\
 "
    },
    "expanded": false,
    "children": [],
    "type": "dataprovider"
   }
  ],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "查询表格列",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}