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}'");