修复查询成绩录入人和雷达图错误
This commit is contained in:
1 parent
40f874239e
commit
bbbc5f718b
2 files changed
+5
-5
No files matched your search
@@ -596,7 +596,7 @@ class Index extends BaseController
|
||||
$query->field('id,title');
|
||||
},
|
||||
'userName'=>function($query){
|
||||
$query->field('id,school,xingming')
|
||||
$query->field('id,school_id,xingming')
|
||||
->with([
|
||||
'adSchool'=>function($query){
|
||||
$query->field('id,jiancheng');
|
||||
|
||||
@@ -182,21 +182,21 @@ class StudentChengji extends BaseModel
|
||||
$khInfo = $kh->where('id', $src['kaohao_id'])
|
||||
->with([
|
||||
'ksChengji'=>function($query){
|
||||
$query->field('id,kaohao_id,subject_id,defen');
|
||||
$query->field('id, kaohao_id, subject_id, defen');
|
||||
}
|
||||
])
|
||||
->find();
|
||||
|
||||
// 参加考试学科
|
||||
$subject = subjectList();
|
||||
$subject = subjectList(1,1);
|
||||
// 获取参加考试学科满分
|
||||
$ksset = new \app\kaoshi\model\KaoshiSet;
|
||||
$manfen = $ksset->srcSubject($khInfo->kaoshi, '', $khInfo->ruxuenian);
|
||||
$manfen = $ksset->srcSubject($khInfo->kaoshi_id, '', $khInfo->ruxuenian);
|
||||
|
||||
// 查询区成绩
|
||||
$SchoolChengji = new \app\chengji\model\TongjiSch;
|
||||
$schcj = $SchoolChengji
|
||||
->where('kaoshi_id',$khInfo->kaoshi)
|
||||
->where('kaoshi_id',$khInfo->kaoshi_id)
|
||||
->where('ruxuenian',$khInfo->ruxuenian)
|
||||
->select();
|
||||
|
||||
|
||||
Reference in new issue
Block a user