From a3f6c368d437eb20fbacd415b78b33ee1377feab Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 17 Jun 2019 09:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8E=E6=9C=AA=E5=BD=95=E5=85=A5=E7=9A=84?= =?UTF-8?q?=E5=BC=80=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/vendorPlanSync/models/Group_model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webht/third_party/vendorPlanSync/models/Group_model.php b/webht/third_party/vendorPlanSync/models/Group_model.php index f3e90d02..629eb3ce 100644 --- a/webht/third_party/vendorPlanSync/models/Group_model.php +++ b/webht/third_party/vendorPlanSync/models/Group_model.php @@ -26,6 +26,8 @@ class Group_model extends CI_Model { AND VAS_IsSendSucceed=1 AND isnull(VAS_IsReceive,0)=0 -- AND EOI_GetDate between '$start_date' AND '$end_date' AND EOI_GetDate > CONVERT(date, GETDATE()) + -- 上线初期避免已录入的重复 + AND VAS_SN >=1688036 AND isnull(VAS_IsConfirm,0)=0 AND isnull(VAS_SendVary,0)=0 "; $sql .= " order by EOI_GetDate asc,vas.VAS_SendTime asc, vas.VAS_IsConfirm asc";