|
|
@@ -440,7 +440,7 @@ class ocean_order {
|
|
|
select regexp_split_to_table('Booking Confirmation,Cargo Pickup,Cargo Arrived at Origin,Departure,Arrived at Final Destination Port,Arrived at Final Destination', ','))
|
|
|
order by id desc limit 1) dd on true" . $sqlWhere;
|
|
|
$rc = common::excuteOneSql($sql);
|
|
|
- error_log("online_ocean:".$sql);
|
|
|
+ error_log("online_ocean_count:".$sql);
|
|
|
|
|
|
//Booked
|
|
|
$sql = $this->getOcanOrderSearchSql("Booked",$sqlWhere);
|
|
|
@@ -517,10 +517,8 @@ class ocean_order {
|
|
|
END AS new_status, ".
|
|
|
column::getInstance()->getSearchSqlForDisplay('Ocean_Search') . " from public.online_ocean $ocean_ref_sql $ocean_status_sql" . $sqlWhere .
|
|
|
" order by $order_by limit " . $ps . " offset " . ($cp - 1) * $ps;
|
|
|
-
|
|
|
- $sss = " order by $order_by limit " . $ps . " offset " . ($cp - 1) * $ps;
|
|
|
-
|
|
|
$rs = common::excuteListSql($sql);
|
|
|
+ error_log("online_ocean_search:".$sql);
|
|
|
|
|
|
//对查询的结果做特殊处理,比如要拼接某个值,合并值等
|
|
|
foreach($rs as $index => $val) {
|