|
|
|
@ -78,6 +78,7 @@ class Group_model extends CI_Model {
|
|
|
|
|
$vgrd->PAG_Code = mb_strtoupper($vaci->PAG_Code);
|
|
|
|
|
$vgrd->PAG_ExtendType = mb_strtoupper($vaci->PAG_ExtendType);
|
|
|
|
|
$vgrd->PAG_Type = trim($vaci->PAG_Type);
|
|
|
|
|
$vgrd->PAG_Vehicle = $vaci->PAG_Vehicle;
|
|
|
|
|
$vgrd->pag_code_arr[] = mb_strtoupper($vaci->PAG_Code);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
@ -112,6 +113,7 @@ class Group_model extends CI_Model {
|
|
|
|
|
$vgrd->PAG_Code = mb_strtoupper($vcold->PAG_Code);
|
|
|
|
|
$vgrd->PAG_ExtendType = mb_strtoupper($vcold->PAG_ExtendType);
|
|
|
|
|
$vgrd->PAG_Type = trim($vcold->PAG_Type);
|
|
|
|
|
$vgrd->PAG_Vehicle = $vcold->PAG_Vehicle;
|
|
|
|
|
$vgrd->pag_code_arr[] = mb_strtoupper($vcold->PAG_Code);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
@ -151,6 +153,7 @@ class Group_model extends CI_Model {
|
|
|
|
|
isnull(pag_for_channel.PAG_ExtendType,pag_tp.PAG_ExtendType) as PAG_ExtendType,
|
|
|
|
|
isnull(pag_for_channel.PAG_Type,pag_tp.PAG_Type) as PAG_Type,
|
|
|
|
|
isnull(pag_for_channel.PAG_DEI_SN,pag_tp.PAG_DEI_SN) as PAG_DEI_SN,
|
|
|
|
|
isnull(pag_for_channel.PAG_Vehicle,pag_tp.PAG_Vehicle) as PAG_Vehicle,
|
|
|
|
|
-- (select PAG_DEI_SN from BIZ_PackageInfo where PAG_SN=ACI_ServiceSN) as raw_PAG_DEI_SN,
|
|
|
|
|
aci.*
|
|
|
|
|
from ArrangeConfirmInfo aci
|
|
|
|
@ -179,6 +182,7 @@ class Group_model extends CI_Model {
|
|
|
|
|
isnull(pag_for_channel.PAG_ExtendType,pag_tp.PAG_ExtendType) as PAG_ExtendType,
|
|
|
|
|
isnull(pag_for_channel.PAG_Type,pag_tp.PAG_Type) as PAG_Type,
|
|
|
|
|
isnull(pag_for_channel.PAG_DEI_SN,pag_tp.PAG_DEI_SN) as PAG_DEI_SN,
|
|
|
|
|
isnull(pag_for_channel.PAG_Vehicle,pag_tp.PAG_Vehicle) as PAG_Vehicle,
|
|
|
|
|
-- (select PAG_DEI_SN from BIZ_PackageInfo where PAG_SN=COLD_ServiceSN) as raw_PAG_DEI_SN,
|
|
|
|
|
cold.* from BIZ_ConfirmLineDetail cold
|
|
|
|
|
left join [Tourmanager].[dbo].[BIZ_PackageInfoRelate] pl on pl.PAGR_PAG_SN_channel=COLD_ServiceSN
|
|
|
|
|