From 94c4ae64748a3a8dbe2d72df1401ef4718a35269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=9C=E5=AE=9D=E4=B9=A6=E8=AE=B0?= Date: Tue, 1 Jun 2021 21:21:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8F=AD=E7=BA=A7ID=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/teach/model/Banji.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/teach/model/Banji.php b/app/teach/model/Banji.php index e7412cd9..11082803 100755 --- a/app/teach/model/Banji.php +++ b/app/teach/model/Banji.php @@ -270,7 +270,7 @@ class Banji extends BaseModel $alias = \app\facade\System::sysClass(); - if(($nj > 0 && $bj > 0) ||($nj > 0 && $bj == -1)) + if($nj > 0 && ($bj > 0 || $bj == -1)) { // 查询班级id $banji = new \app\teach\model\Banji;