|
@@ -1411,7 +1411,7 @@ class common {
|
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
|
'' as label, '' as infor, 3 as sort,
|
|
'' as label, '' as infor, 3 as sort,
|
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
|
- from vessel.vt_unlocode where (lat<=90 or lat>=-90) and (lon<=180 or lon>=-180) and lon is not null and lat is not null and uncode=aa.shippr_uncode ) dd on true";
|
|
|
|
|
|
|
+ from vessel.vt_unlocode where (lat<=90 and lat>=-90) and (lon<=180 and lon>=-180) and lon is not null and lat is not null and uncode=aa.shippr_uncode ) dd on true";
|
|
|
//todo 这里预写个大概
|
|
//todo 这里预写个大概
|
|
|
//common::getTopBarSQL($toporiginType,$_REQUEST["transportation"]);
|
|
//common::getTopBarSQL($toporiginType,$_REQUEST["transportation"]);
|
|
|
$shippr_uncode_10 = common::excuteListSql($shippr_uncode_10_sql);
|
|
$shippr_uncode_10 = common::excuteListSql($shippr_uncode_10_sql);
|
|
@@ -1424,7 +1424,7 @@ class common {
|
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
|
'' as label, '' as infor, 3 as sort,
|
|
'' as label, '' as infor, 3 as sort,
|
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
|
- from vessel.vt_unlocode where (lat<=90 or lat>=-90) and (lon<=180 or lon>=-180) and lon is not null and lat is not null and uncode=aa.fport_of_loading_un ) dd on true";
|
|
|
|
|
|
|
+ from vessel.vt_unlocode where (lat<=90 and lat>=-90) and (lon<=180 and lon>=-180) and lon is not null and lat is not null and uncode=aa.fport_of_loading_un ) dd on true";
|
|
|
$shippr_uncode_10 = common::excuteListSql($shippr_uncode_10_sql);
|
|
$shippr_uncode_10 = common::excuteListSql($shippr_uncode_10_sql);
|
|
|
}
|
|
}
|
|
|
//$toporiginType = "fport_of_loading_un";
|
|
//$toporiginType = "fport_of_loading_un";
|
|
@@ -1437,7 +1437,7 @@ class common {
|
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
|
'' as label, '' as infor, 3 as sort,
|
|
'' as label, '' as infor, 3 as sort,
|
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
|
- from vessel.vt_unlocode where (lat<=90 or lat>=-90) and (lon<=180 or lon>=-180) and lon is not null and lat is not null and uncode=aa.consignee_uncode ) dd on true";
|
|
|
|
|
|
|
+ from vessel.vt_unlocode where (lat<=90 and lat>=-90) and (lon<=180 and lon>=-180) and lon is not null and lat is not null and uncode=aa.consignee_uncode ) dd on true";
|
|
|
|
|
|
|
|
$consignee_uncode_10 = common::excuteListSql($consignee_uncode_10_sql);
|
|
$consignee_uncode_10 = common::excuteListSql($consignee_uncode_10_sql);
|
|
|
//如果值没有:客户地址-->站点地址-->Port地址(POL/POD)
|
|
//如果值没有:客户地址-->站点地址-->Port地址(POL/POD)
|
|
@@ -1448,7 +1448,7 @@ class common {
|
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
left join LATERAL ( select lon as lng, lat as lat,
|
|
|
'' as label, '' as infor, 3 as sort,
|
|
'' as label, '' as infor, 3 as sort,
|
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
null::timestamp without time zone as stime,''::text as ptype
|
|
|
- from vessel.vt_unlocode where (lat<=90 or lat>=-90) and (lon<=180 or lon>=-180) and lon is not null and lat is not null and uncode=aa.mport_of_discharge_un ) dd on true";
|
|
|
|
|
|
|
+ from vessel.vt_unlocode where (lat<=90 and lat>=-90) and (lon<=180 and lon>=-180) and lon is not null and lat is not null and uncode=aa.mport_of_discharge_un ) dd on true";
|
|
|
$consignee_uncode_10 = common::excuteListSql($consignee_uncode_10_sql);
|
|
$consignee_uncode_10 = common::excuteListSql($consignee_uncode_10_sql);
|
|
|
}
|
|
}
|
|
|
|
|
|