Merge branch 'feature/plan-auto-send-release'

hotfix/远程访问多媒体中心
lyt 6 years ago
commit 185ccbf879

@ -92,7 +92,11 @@ class Trippest
public function if_tour_pvt($all_pag_info) public function if_tour_pvt($all_pag_info)
{ {
$tour_pvt_arr = array_filter(array_map(function($pag) { $tour_pvt_arr = array_filter(array_map(function($pag) {
if(intval($pag->PAG_ExtendType)===39009 && !in_array(intval($pag->PAG_Type), array(35003,35007))) // 扩展类型:接送
// 包价类型: 非-[码头接送,大车游]
// 交通:非-[大车]
if(intval($pag->PAG_ExtendType)===39009 && !in_array(intval($pag->PAG_Type), array(35003,35007))
&& !in_array(intval($pag->PAG_Vehicle), array(60002)))
{ {
return 1; return 1;
} else if (stripos($pag->PAG_Title,"PVT") !== false) { } else if (stripos($pag->PAG_Title,"PVT") !== false) {

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

Loading…
Cancel
Save