From e6302102efab1cdb5c92185b4f32caca8dab9a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=9C=E5=AE=9D=E4=B9=A6=E8=AE=B0?= Date: Sun, 23 May 2021 21:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=AE=E7=94=9F=E7=8E=87?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/model/TongjiBj.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/chengji/model/TongjiBj.php b/app/chengji/model/TongjiBj.php index 33e98235..f063ab3f 100755 --- a/app/chengji/model/TongjiBj.php +++ b/app/chengji/model/TongjiBj.php @@ -743,10 +743,10 @@ class TongjiBj extends BaseModel $stu_cnt = $this->stu_cnt; $canshilv = null; if ($stu_cnt > 0) { - $chalv = round($cjCnt / $stu_cnt * 100, 2); + $canshilv = round($cjCnt / $stu_cnt * 100, 2); } - return $chalv; + return $canshilv; }