edit_id ]]> exam_id <@p p=" and (name like ? ">name <@p p=" or department like ? ">department <@p p=" or user like ? )">user group by user_id ) examresult ]]> name <@p p=" and %s">pg <@p p=" and %s">card <@p p=" and %s">createdepartment order by convert(name using gbk) ]]> edit_id <@p p=" and %s">user_id order by et_exam_editexampaper.num asc ]]> user_id <@p p=" and name like ? ">name group by exam_id ]]> user_id <@p p=" and %s">exam_id ]]> exam_id ]]> exam_id group by user_id) union all select md5(uuid()) as id,user,user_id,department,'已答' as userstate,round(sum(user_score),2) user_score from et_exam_usertest where <@p>exam_id group by user_id ]]> exam_id group by user_id) and <@p p="orgcode in (%s)" f="?">user_id union all select md5(uuid()) as id,user,user_id,department,'已答' as userstate,round(sum(user_score),2) user_score from et_exam_usertest where <@p>exam_id group by user_id ]]> exam_id group by user_id) and <@p p=" l.exam_id = ? ">exam_id group by user_id union all select md5(uuid()) as id,user,user_id,department,'已答' as userstate,round(sum(user_score),2) user_score from et_exam_usertest where <@p>exam_id group by user_id ]]> exam_id group by user_id) and <@p p=" class.exam_id = ?">exam_id group by class.class_person_id union all select md5(uuid()) as id,user,user_id,department,'已答' as userstate,round(sum(user_score),2) user_score from et_exam_usertest where <@p>exam_id group by user_id ]]> exam_id group by user_id) and <@p p=" course.exam_id = ?">exam_id group by course.course_person_id union all select md5(uuid()) as id,user,user_id,department,'已答' as userstate,round(sum(user_score),2) user_score from et_exam_usertest where <@p>exam_id group by user_id ]]> exam_id ]]> exam_id and (type = '单选题' or type = '多选题' or type = '判断题') and (mark_teacher = '' or mark_teacher is NULL) ]]>