From 76eee4c4f6ec4437e69cf4151ff59b64ce30ba04 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Wed, 6 Nov 2024 14:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=87=E6=BB=A4=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=8A=A0=E4=B8=8A=E6=97=B6=E5=88=86=E5=A6=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/logic/LocalStoreLogic.php b/app/api/logic/LocalStoreLogic.php index 195f3925..d4935492 100644 --- a/app/api/logic/LocalStoreLogic.php +++ b/app/api/logic/LocalStoreLogic.php @@ -816,8 +816,8 @@ class LocalStoreLogic extends Logic $time_where['end'] = $post['report'] == 1 ? $current_day_end : $current_month_end; } else { // 日期筛选 - $time_where['start'] = $post['filter_day']['startDate']; - $time_where['end'] = $post['filter_day']['endDate']; + $time_where['start'] = $post['filter_day']['startDate'] . ' 00:00:00'; + $time_where['end'] = $post['filter_day']['endDate'] . ' 23:59:59'; } // 日报、月报、日期筛选——营业额