Jelajahi Sumber

20250305 调整

贾小兵 1 bulan lalu
induk
melakukan
6e293f171a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 = '';