修复考试删除后,学生个人成绩查询错误
This commit is contained in:
1 parent
05c4f4b519
commit
7c8590c4a4
1 file changed
+5
@@ -38,6 +38,11 @@ class StudentChengji extends BaseModel
|
||||
// 整理数据
|
||||
$data = array();
|
||||
foreach ($stuCj as $key => $value) {
|
||||
if(empty($value->cjKaoshi))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$data[$key] = [
|
||||
'kaoshi_id' => $value->kaoshi_id,
|
||||
'kaoshiTitle' => $value->cjKaoshi->title,
|
||||
|
||||
Reference in new issue
Block a user