|
|
@ -24,7 +24,7 @@ class Group_model extends CI_Model {
|
|
|
|
$sql .= $gri_sn!==0 ? $gri_sql : "
|
|
|
|
$sql .= $gri_sn!==0 ? $gri_sql : "
|
|
|
|
AND isnull(VAS_IsCancel,0)=0 AND isnull(VAS_Delete,0)=0 AND isnull(vas.DeleteFlag,0)=0
|
|
|
|
AND isnull(VAS_IsCancel,0)=0 AND isnull(VAS_Delete,0)=0 AND isnull(vas.DeleteFlag,0)=0
|
|
|
|
AND VAS_IsSendSucceed=1 AND isnull(VAS_IsReceive,0)=0
|
|
|
|
AND VAS_IsSendSucceed=1 AND isnull(VAS_IsReceive,0)=0
|
|
|
|
AND EOI_GetDate between '$start_date' AND '$end_date'
|
|
|
|
-- AND EOI_GetDate between '$start_date' AND '$end_date'
|
|
|
|
-- Trippest, not confirm, not change -- for Trippest deploy
|
|
|
|
-- Trippest, not confirm, not change -- for Trippest deploy
|
|
|
|
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 GRI_OrderType=227002
|
|
|
|
AND GRI_OrderType=227002
|
|
|
|