|
@@ -1362,7 +1362,7 @@ class login {
|
|
|
|
|
|
|
|
private function trackingSql($serial_no,$order_from){
|
|
private function trackingSql($serial_no,$order_from){
|
|
|
$public_sql = "with o as(
|
|
$public_sql = "with o as(
|
|
|
- SELECT o.* from public.ocean o where o.serial_no = '$serial_no')
|
|
|
|
|
|
|
+ SELECT o.* from public.ocean o where o.serial_no = '$serial_no'
|
|
|
)
|
|
)
|
|
|
SELECT m_eta as _m_eta, h_bol as _h_bol, m_bol as _m_bol,job_no as _job_bol,
|
|
SELECT m_eta as _m_eta, h_bol as _h_bol, m_bol as _m_bol,job_no as _job_bol,
|
|
|
o.* ,sh.*, cn.* ,aa.*,dd.*,fd.*,oo.*,
|
|
o.* ,sh.*, cn.* ,aa.*,dd.*,fd.*,oo.*,
|
|
@@ -1432,8 +1432,7 @@ class login {
|
|
|
FROM ocean.contacts c WHERE o.final_desination::text = c.contact_id::text) fd ON true";
|
|
FROM ocean.contacts c WHERE o.final_desination::text = c.contact_id::text) fd ON true";
|
|
|
|
|
|
|
|
$sfs_sql = "with o as(
|
|
$sfs_sql = "with o as(
|
|
|
- SELECT o.* from sfs.ocean o where o.serial_no = '$serial_no')
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ SELECT o.* from sfs.ocean o where o.serial_no = '$serial_no'
|
|
|
)
|
|
)
|
|
|
SELECT m_eta as _m_eta, h_bol as _h_bol, m_bol as _m_bol,job_no as _job_bol,
|
|
SELECT m_eta as _m_eta, h_bol as _h_bol, m_bol as _m_bol,job_no as _job_bol,
|
|
|
o.* ,sh.*, cn.* ,aa.*,dd.*,fd.*,oo.*,
|
|
o.* ,sh.*, cn.* ,aa.*,dd.*,fd.*,oo.*,
|