From 1ca77aece2684ff5ca1313c4429b54287b493e66 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 26 Aug 2024 14:18:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E8=AE=A2=E5=8D=95=E5=AF=BC=E5=87=BAexcel=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/logic/shop/LocalStoreLogic.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/admin/logic/shop/LocalStoreLogic.php b/app/admin/logic/shop/LocalStoreLogic.php index ae16b809..a132a504 100755 --- a/app/admin/logic/shop/LocalStoreLogic.php +++ b/app/admin/logic/shop/LocalStoreLogic.php @@ -130,6 +130,7 @@ class LocalStoreLogic extends Logic // 先将之前已导出的数据状态为2,这样就不会在重复导出之前的数据了(如果昨天的日期导出的状态还是为1则立马转换为2) $last_where[] = ['create_time', '<=', date('Y-m-d H:i:s', strtotime('yesterday 02:00:00'))]; $last_where[] = ['is_checkout', '=', 1]; + $last_where[] = ['state', '=', 1]; $last_where[] = ['is_export', '=', 1]; $localStoreOrder->where($last_where)->update(['is_export' => 2]);