From 89a8ef66625b17c142691ad9f705e035abf4714c Mon Sep 17 00:00:00 2001 From: liqi Date: Thu, 2 Jan 2025 16:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=AF=86=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/controllers/base/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/controllers/base/DataController.php b/admin/controllers/base/DataController.php index ab1f2af..b1b1543 100644 --- a/admin/controllers/base/DataController.php +++ b/admin/controllers/base/DataController.php @@ -82,7 +82,7 @@ class DataController extends BaseAdminController { // 根据$month列表的月份统计数据 - $query = Reconciliation::find()->where(['between', 'created_at', strtotime(date('Y-01-01')), strtotime(date('Y-m-d'))])->select([ + $query = Reconciliation::find()->where(['between', 'created_at', strtotime(date('Y-01-01')), strtotime(date('Y-m-d 23:59:59'))])->select([ 'drug_type', 'total_price', 'status',