From 1f33f5ddefeca3de2c3776815bf6616e01eb15a9 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 17 May 2019 16:14:28 +0800 Subject: [PATCH] =?UTF-8?q?Trippest=E8=B4=A6=E5=8D=95:=E5=88=A0=E6=8E=8945?= =?UTF-8?q?=E5=A4=A9=E7=9A=84=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/trippestOrderSync/models/orders_model.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/webht/third_party/trippestOrderSync/models/orders_model.php b/webht/third_party/trippestOrderSync/models/orders_model.php index e32fbaf3..54a1c821 100644 --- a/webht/third_party/trippestOrderSync/models/orders_model.php +++ b/webht/third_party/trippestOrderSync/models/orders_model.php @@ -176,7 +176,6 @@ class Orders_model extends CI_Model { public function get_groupCombineInfo_finance() { // return array(); // 历史数据已获取完毕 - // $to_update_cost_date = date("Y-m-d", strtotime("-45 days")); $to_update_month_begin = date('Y-m-01', strtotime("-4 months", strtotime(date("Y-m-d")))); $to_update_month_end = date('Y-m-01', strtotime("-3 months", strtotime(date("Y-m-d")))); $end_d = strtotime($to_update_month_end)-1; @@ -193,8 +192,6 @@ class Orders_model extends CI_Model { LEFT JOIN BIZ_ConfirmLineDetail cold ON cold.COLD_COLI_SN=coli.COLI_SN where GCI_combineNo is not null and GCI_combineNo not in ('cancel','forbidden') - -- 45天前的订单 - --and gci.gci_leaveDate = '$to_update_cost_date' -- 今天更新一次 and gci.GCI_createTime < '$last_update_time' -- 已生成账单的不再自动同步