{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "var data = app.get();\
var sql = '';\
\
if(!Wb.isEmpty(data.createdBy)){\
\tsql += \"and CREATED_BY ={?createdBy?}\";\
}\
request.setAttribute('sql',sql);"
  },
  "expanded": true,
  "children": [{
   "configs": {
    "itemId": "dataprovider1",
    "totalSql": "SELECT COUNT(1) FROM REMQ_MSG_CUSTOM X WHERE  RE_USER_ID IS NULL AND SR_FLAG='R' {#sql#}",
    "sql": "SELECT X.ID,\
BUSINESS_KEY,\
BUSINESS_TYPE,\
BUSINESS_URL,\
MSG_INFO,\
CAST(RECEIVE_FLAG AS SIGNED) RECEIVE_FLAG,\
RECEIVE_TIM,\
CREATED_BY,\
CREATED_ON,\
UPDATED_BY,\
UPDATED_ON,\
CHAT_NAME,\
SR_FLAG,\
RE_USER_ID\
FROM REMQ_MSG_CUSTOM X WHERE RE_USER_ID IS NULL AND SR_FLAG='R'\
{#sql#}\
ORDER BY CREATED_ON DESC limit {?bigint.start?},{?bigint.limit?}"
   },
   "expanded": false,
   "children": [],
   "type": "dataprovider"
  }],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "垃圾消息",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}