This commit is contained in:
巴掌 committed 2021-04-20 21:26:14 +08:00
1 parent 491a3531ef
commit 377f1914d1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ class Index extends AdminBase
->where('kaoshi_id', $list['kaoshi_id'])
->where('student_id', $value->id)
->find();
if($check)
if($check) # 恢复后学生还是原来的班级,删除后重新添加可能会出错
{
if($check->delete_time > 0)
{
+1 -1
View File
@@ -200,7 +200,7 @@ class SearchMore extends BaseModel
->find();
$data[$key]->banjiKaohao[$key]->cjStudent = array('id' => $stuinof->id, 'shoupin' => $stuinof->shoupin);
}
$data[$key]['banjiKaohao'][$k]['shoupin'] = $val->cjStudent->shoupin;
$data[$key]['banjiKaohao'][$k]['shoupin'] = $val['cjStudent']['shoupin'];
}
}
return $data;