Explorar o código

20250305 调整

贾小兵 hai 1 mes
pai
achega
6e293f171a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = '';