|
|
@@ -74,7 +74,7 @@ switch ($action) {
|
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
//online_order_status_date_new 与本地的区分,发布上去这去掉new
|
|
|
- $list = common::excuteListSql("select * from public.online_order_status_date_new('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text) "
|
|
|
+ $list = common::excuteListSql("select * from public.online_order_status_date('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text) "
|
|
|
. "r (c bigint, e integer, b integer, d text)");
|
|
|
$key = "[";
|
|
|
$value = "[";
|
|
|
@@ -398,9 +398,9 @@ switch ($action) {
|
|
|
select * from rr order by sort, stime";
|
|
|
$rss = common::excuteListSql($sql);
|
|
|
//先固定死
|
|
|
- $json = '[{"lng":"100.78594000","lat":"13.68521000","label":"Origin","infor":"LAT KRABANG, THAILAND","sort":"0","stime":null,"ptype":"por"},
|
|
|
- {"lng":"100.88333333","lat":"13.08333333","label":"Destination","infor":"LAEM CHABANG PORT,THAILAND","sort":"1","stime":null,"ptype":"pol"},
|
|
|
- {"lng":"-122.28640000","lat":"37.79784000","label":"Transfer","infor":"OAKLAND, CA, USA","sort":"2","stime":null,"ptype":"pod"}]';
|
|
|
+ // $json = '[{"lng":"100.78594000","lat":"13.68521000","label":"Origin","infor":"LAT KRABANG, THAILAND","sort":"0","stime":null,"ptype":"por"},
|
|
|
+ // {"lng":"100.88333333","lat":"13.08333333","label":"Destination","infor":"LAEM CHABANG PORT,THAILAND","sort":"1","stime":null,"ptype":"pol"},
|
|
|
+ // {"lng":"-122.28640000","lat":"37.79784000","label":"Transfer","infor":"OAKLAND, CA, USA","sort":"2","stime":null,"ptype":"pod"}]';
|
|
|
$rss = json_decode($json,true);
|
|
|
common::echo_json_encode(200, $rss);
|
|
|
exit();
|