{
 "hidden": false,
 "children": [{
  "configs": {
   "serverScript": "var sql, data = app.get();\
sql = '';\t\t\
if (!Wb.isEmpty(data.startdate)) \
  sql += \"  and  ETD_TIM>={?timestamp.startdate?}\";\
if (!Wb.isEmpty(data.enddate)) \
  sql += \"  and  ETD_TIM<={?timestamp.enddate?}\";\
if (!Wb.isEmpty(data.eShipName)) \
  sql += \" and  E_VESSEL_NAM  like '%'||{?eShipName?}||'%' \";\
if (!Wb.isEmpty(data.voyageNo)) \
  sql += \" and VOYAGE_NO  like '%'||{?voyageNo?}||'%' \";\
if (!Wb.isEmpty(data.tempId)) \
  sql += \" and TEMP_ID ={?tempId?}\";\
sql += \" and IS_DEL ='0' \";\
\
request.setAttribute('Sql', sql);\
\
\
\
",
   "itemId": "module"
  },
  "expanded": true,
  "children": [
   {
    "configs": {
     "itemId": "searchText",
     "string": "%{#query#}%"
    },
    "expanded": false,
    "children": [],
    "type": "string"
   },
   {
    "configs": {
     "itemId": "dataprovider1",
     "sql": "select PORT_CODE,PORT_NAME_EN,PORT_NAME_CH \
from C_PORT_DATA\
where PORT_NAME_EN like {?searchText?}  or PORT_NAME_CH like {?searchText?}"
    },
    "expanded": false,
    "children": [],
    "type": "dataprovider"
   }
  ],
  "type": "module"
 }],
 "roles": {
  "dev": 1,
  "jj_japan_role": 1,
  "demo": 1,
  "salerole": 1
 },
 "title": "港口查询",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}