修改已录成绩错误

This commit is contained in:
巴掌 committed 2021-01-21 12:30:50 +08:00
1 parent c7e73586a4
commit 04c3ecdb8b
1 file changed
+1 -1
+1 -1
View File
@@ -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;