From 04c3ecdb8bbd1c2af873434e1b3487ef19971c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Thu, 21 Jan 2021 12:30:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E5=BD=95=E6=88=90?= =?UTF-8?q?=E7=BB=A9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/model/Tongji.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chengji/model/Tongji.php b/app/chengji/model/Tongji.php index 69df7929..0160acc0 100755 --- a/app/chengji/model/Tongji.php +++ b/app/chengji/model/Tongji.php @@ -13,7 +13,7 @@ class Tongji extends BaseModel $data = array(); // 循环统计各学科成绩 foreach ($subject_id as $key => $value) { - $cjcol = array_column($cj, $value['lieming']); + $cjcol = array_column($cj, $value['lieming'] . 'defen'); $cjcol = array_filter($cjcol, function($item){ return $item != null;