From e9287570d5deaa865db1508c79a25bd2961b6870 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Sun, 30 Jul 2023 14:41:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=B4=AF=E8=AE=A1=E8=BF=9B?= =?UTF-8?q?=E9=A6=86=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/application/common/logic/PassFlow.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/application/common/logic/PassFlow.php b/source/application/common/logic/PassFlow.php index 150cc3d..2f13381 100644 --- a/source/application/common/logic/PassFlow.php +++ b/source/application/common/logic/PassFlow.php @@ -440,6 +440,8 @@ class PassFlow $sum_year_incount += $museum_year_incount; # 文化馆 + $res = $dm->find('bt_library',['group_id' => 'BAF055']); + $culture_today_count = isset($res['today_incount']) ? $res['today_incount'] : 0; # 累计进馆人数 $sumAllWhere = ' "granularity" = ' . "'yearly'" . ' and "date" = ' . "'year' " . ' and "groupId"='."'510'"; @@ -470,7 +472,7 @@ class PassFlow ], [ 'groupName' => '文化馆', - 'incount' => 0 + 'incount' => $culture_today_count ], ] ];