浏览代码

20250305 调整

贾小兵 1 月之前
父节点
当前提交
6e293f171a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/controller/teacher/Practice.php

+ 1 - 1
application/admin/controller/teacher/Practice.php

@@ -409,7 +409,7 @@ class Practice extends Backend
         // $sim_type = Db::name('real_exam_collection')->where('exam_collection_id',$ids)->value('sim_type');
         $list = Db::name('seat')->select();
         foreach ($list as $key => $value) {
-            $exam = $this->model->where('exam_collection_id',$ids)->order('exam_id desc')->where('seat_id',$value['seat_id'])->find();
+            $exam = $this->exam_model->where('exam_collection_id',$ids)->order('exam_id desc')->where('seat_id',$value['seat_id'])->find();
             
             $user_username = '';
             $user_nickname = '';