|
@@ -1220,7 +1220,7 @@ class Exam extends Backend
|
|
|
->join("user_address d",'a.user_id = d.user_id','left')
|
|
|
->join("yexam_exam_user_log c",'a.id = c.exam_user_id and c.state=0','left')
|
|
|
->group("a.id")
|
|
|
- ->where(['a.exam_id'=>$id,'a.up_status'=>2,'a.is_max'=>1,'a.is_submit'=>1])
|
|
|
+ ->where(['a.exam_id'=>$id,'a.up_status'=>2/*,'a.is_max'=>1,'a.is_submit'=>1*/])
|
|
|
->order("a.score desc,a.use_time asc")
|
|
|
->limit($offset, $limit)
|
|
|
->select())->toArray();
|