{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "var sql,data = app.get();\
sql= ' ';\
if(!Wb.isEmpty(data.menuNameRes)){ \
 sql += \"and (menu_res_ename like '%'||{?menuNameRes?}||'%' or menu_res_cname like '%'||{?menuNameRes?}||'%')\";\
}\
request.setAttribute('sql', sql);"
  },
  "expanded": true,
  "children": [{
   "configs": {
    "itemId": "dataprovider1",
    "sql": "SELECT * FROM WB_MENU_RES WHERE PARENT_MENU_ID = {?parentMenuId?} {#sql#}"
   },
   "expanded": false,
   "children": [],
   "type": "dataprovider"
  }],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "查询按钮",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}