Browse Source

202508120 修复考试查看学员信息,按照登录时间排序。

贾小兵 2 tuần trước cách đây
mục cha
commit
a6b1203e88
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/admin/controller/teacher/Exams.php

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

@@ -377,7 +377,7 @@ class Exams extends Backend
 
         $list = Db::name('seat')->select();
         foreach ($list as $key => $value) {
-            $exam = $this->model->where('exam_collection_id',$ids)->order('starttime desc')->where('seat_id',$value['seat_num'])->find();
+            $exam = $this->model->where('exam_collection_id',$ids)->order('login_time desc')->where('seat_id',$value['seat_num'])->find();
             $user_username = '';
             $user_nickname = '';
             $exam_status = '未登录';