修改成绩统计数据模型

This commit is contained in:
cxdbz committed 2019-06-15 09:12:41 +08:00
1 parent 8542901614
commit e8fee110f3
4 files changed
+38 -16

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ class Kaohao extends Base
$data[$key]['school'] = $value->cj_school->jiancheng;
if($value->cj_student != Null){
$data[$key]['student'] = $value->cj_student->xingming;
$data[$key]['sex'] = $stuinfo->sex;
$data[$key]['sex'] = $value->cj_student->sex;
}else{
$stuinfo = $stu::withTrashed()
->where('id',$value->student)