From de7d6f0f3aa13c76472a4d92b8e9a629ef2a35d1 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 27 Jul 2023 19:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/application/common/logic/PassFlow.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/application/common/logic/PassFlow.php b/source/application/common/logic/PassFlow.php index c4cd4de..c341eaa 100644 --- a/source/application/common/logic/PassFlow.php +++ b/source/application/common/logic/PassFlow.php @@ -3,7 +3,6 @@ namespace app\common\logic; use app\common\dm\Dm; -use app\common\model\Pass; class PassFlow { @@ -195,7 +194,7 @@ class PassFlow foreach ($data as $groupId => $val) { $proportion = $val['allEnter'] > 0 ? round($val['allEnter']/$threshold,2) : 0; $val['proportion'] = ($proportion * 100) . "%"; - $val['congestion'] = Pass::getPassType($proportion); + $val['congestion'] = self::getPassType($proportion); $val['groupId'] = $groupId; $getGroup = $dm->find('bt_passenger_monitor_group',' "groupId" = ' . "'{$groupId}'");