{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "/**\
*Description:查询页面输入框限制，拼接sql语句\
*Author: xulei\
*Version: 1.0\
*Create Date Time: 2020-09-27\
*\
*/\
var data = app.get();\
var sql = '';\
if(!Wb.isEmpty(data.url)){\
  sql = sql + \"and URL = {?url?}\";\
}\
if(!Wb.isEmpty(data.columnName)){\
  sql = sql + \"and ITEMID_NAME = {?columnName?}\";\
}\
request.setAttribute(\"sql\",sql);"
  },
  "expanded": true,
  "children": [{
   "configs": {
    "itemId": "dataprovider1",
    "sql": "select ID, NAME, ITEMID, URL, ALLOWBLANK, MAXLENGTH,ITEMID_NAME,\
       WRAPLENGTH,CREATED_BY, CREATED_ON, UPDATED_ON, UPDATED_BY\
from T_TEXT_LIMIT\
where 1=1 {#sql#}"
   },
   "expanded": false,
   "children": [],
   "type": "dataprovider"
  }],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "查询页面输入框条件限制",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}