$model->where('and EXISTS ( SELECT exams_paper_id from el_exams_paper_options WHERE el_exams_paper_options.exams_paper_id = el_exams_paper.exams_paper_id)');
$map['_string'].=' AND EXISTS ( SELECT exams_paper_id from el_exams_paper_options WHERE el_exams_paper_options.exams_paper_id = el_exams_paper.exams_paper_id)';
}
if((int)$isApi===2){
$map['_string'].=' AND EXISTS ( SELECT exams_paper_id from el_exams_paper_options WHERE el_exams_paper_options.exams_paper_id = el_exams_paper.exams_paper_id)';