|
|
|
@ -26,7 +26,7 @@ class Group_model extends CI_Model {
|
|
|
|
|
$sql .= $gri_sn!==0 ? $gri_sql : "
|
|
|
|
|
AND isnull(VAS_IsReceive,0)=0
|
|
|
|
|
-- AND EOI_GetDate between '$start_date' AND '$end_date'
|
|
|
|
|
AND EOI_GetDate > CONVERT(date, GETDATE())
|
|
|
|
|
AND EOI_GetDate >= CONVERT(date, GETDATE())
|
|
|
|
|
AND isnull(VAS_IsConfirm,0)=0 AND VAS_ConfirmSN IS NULL
|
|
|
|
|
and not exists (
|
|
|
|
|
select 1 from VendorPlanSendout where VPS_VAS_SN=VAS_SN
|
|
|
|
|