地接计划:排除已发送的

hotfix/远程访问多媒体中心
lyt 6 years ago
parent ad8c957db9
commit daee15dc6a

@ -484,7 +484,6 @@ class Tulanduo
/** VendorArrangeState VAS_IsReceive */ /** VendorArrangeState VAS_IsReceive */
$this->ci->Group_model->set_plan_received($vas_sn); $this->ci->Group_model->set_plan_received($vas_sn);
} }
echo ($this->ci->tldOrderBuilder->getBizContent());
} }
if ( ! empty($pag_coldsn_arr)) { if ( ! empty($pag_coldsn_arr)) {
$this->biz_pag_order_exec($vas,$grd_info); $this->biz_pag_order_exec($vas,$grd_info);

@ -29,6 +29,9 @@ class Group_model extends CI_Model {
-- 上线初期避免已录入的重复 -- 上线初期避免已录入的重复
AND VAS_SN >=1688036 AND VAS_SN >=1688036
AND isnull(VAS_IsConfirm,0)=0 AND isnull(VAS_SendVary,0)=0 AND isnull(VAS_IsConfirm,0)=0 AND isnull(VAS_SendVary,0)=0
and not exists (
select 1 from VendorPlanSendout where VPS_VAS_SN=VAS_SN
)
"; ";
$sql .= " order by EOI_GetDate asc,vas.VAS_SendTime asc, vas.VAS_IsConfirm asc"; $sql .= " order by EOI_GetDate asc,vas.VAS_SendTime asc, vas.VAS_IsConfirm asc";
return $this->HT->query($sql)->result(); return $this->HT->query($sql)->result();
@ -121,7 +124,7 @@ class Group_model extends CI_Model {
$vgrd->ACI_BabyNum = intval($vcold->COLD_BabyNum); $vgrd->ACI_BabyNum = intval($vcold->COLD_BabyNum);
$vgrd->PAG_DEI_SN = $vcold->PAG_DEI_SN; $vgrd->PAG_DEI_SN = $vcold->PAG_DEI_SN;
$vgrd->PAG_sub_sn = intval($vcold->COLD_ServiceSN2); $vgrd->PAG_sub_sn = intval($vcold->COLD_ServiceSN2);
$vgrd->vendor_memo = trim($vcold->COLD_VendorMemo); $vgrd->vendor_memo = trim($vcold->COLD_vendorMemo);
if ( strval($vcold->COLD_ServiceType)==='D') { if ( strval($vcold->COLD_ServiceType)==='D') {
$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);

Loading…
Cancel
Save