Commit 6d1b12ea by 冷斌

fix bug

parent 7c3fd34f
...@@ -608,7 +608,7 @@ class AdminPaperAction extends AdministratorAction ...@@ -608,7 +608,7 @@ class AdminPaperAction extends AdministratorAction
$map['content'] = ['like', '%' . t($_POST['search_title']) . '%']; $map['content'] = ['like', '%' . t($_POST['search_title']) . '%'];
} }
$map['exams_subject_id'] = $paper['exams_subject_id']; $map['exams_subject_id'] = $paper['exams_subject_id'];
$map['exams_module_id'] = $paper['exams_module_id']; // $map['exams_module_id'] = $paper['exams_module_id'];
//$map['level'] = $paper['level']; //$map['level'] = $paper['level'];
$ids = $this->optionsMod->getQuestionIdByType($paper_id, $map['exams_question_type_id']); $ids = $this->optionsMod->getQuestionIdByType($paper_id, $map['exams_question_type_id']);
$ids && $map['exams_question_id'] = ['not in', $ids]; $ids && $map['exams_question_id'] = ['not in', $ids];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment