Merge branch 'master' into auth

This commit is contained in:
巴掌 committed 2020-08-03 16:57:02 +08:00
commit 55cf0c34c5
5 files changed
+11 -5

No files matched your search

+2
View File
@@ -332,6 +332,8 @@ class TongjiBj extends KaoshiBase
$src['enddate'] = date("Y-m-d", strtotime("+1 day"));
}
// halt($src);
$data = $this
->where('banji_id', $src['banji_id'])
->where('kaoshi_id', 'in', function ($query) use ($src) {
+6 -1
View File
@@ -38,6 +38,11 @@ class OneStudentChengji 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,
@@ -187,7 +192,7 @@ class OneStudentChengji extends BaseModel
->find();
// 参加考试学科
$subject = subjectList(1,1);
$subject = subjectList(1,1);
// 获取参加考试学科满分
$ksset = new \app\kaoshi\model\KaoshiSet;
$manfen = $ksset->srcSubject($khInfo->kaoshi_id, '', $khInfo->ruxuenian);
+1 -1
View File
@@ -23,7 +23,7 @@ class BanjiChengji extends AdminBase
$list['banji_id'] = $banji;
$sbj = new \app\teach\model\Subject;
$list['subject'] = $sbj->searchKaoshi()->toArray();
$list['subject_id'] = $sbj->searchKaoshi()->toArray();
// 模板赋值
$this->view->assign('list',$list);
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more