{
 "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": "dataprovider1",
    "autoPage": "false",
    "totalSql": "SELECT COUNT(1) FROM FA_VESSEL WHERE 1=1 {#Sql#}",
    "sql": "SELECT * FROM(SELECT RES.*,ROWNUM RUM FROM(\
  select ID, VESSEL_COD, E_VESSEL_NAM, C_VESSEL_NAM, VOYAGE_NO, \
       PORT_ID, CARRIER_COD, AGENCY_COD, LINE_COD, LINE_NAM, \
       AMS_ENS_END_TIM, IFTMBF_END_TIM, DELIVERY_TIM, ETA_TIM, ARRIV_PORT_TIM, \
       TO_BERTH_TIM, LEAV_PORT_TIM, FIRST_SHIPMENT_DTE, ETD_TIM, WORK_PLACE_COD,\
       CUSTOM_END_DTE, TEMP_ID, PH_ID, HMM_CODE, START_PORT_COD, SI_END_DTE, \
       IS_DEL, REMARK_TXT, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON\
  from FA_VESSEL\
  where 1=1 {#Sql#}\
) RES) where RUM >= {?bigint.beginIndex?} AND RUM<={?bigint.endIndex?}   ORDER BY  ETD_TIM DESC,E_VESSEL_NAM"
   },
   "expanded": false,
   "children": [],
   "type": "dataprovider"
  }],
  "type": "module"
 }],
 "roles": {
  "dev": 1,
  "jj_japan_role": 1,
  "demo": 1,
  "salerole": 1
 },
 "title": "基本查询",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}