| | |
| | | </select> |
| | | |
| | | |
| | | <!--考试成绩分页信息-模拟考试--> |
| | | <!--考试成绩分页信息-培训考试--> |
| | | <select id="selectTrainExamScorePage" resultType="org.springblade.modules.exam.vo.ExamScoreVO"> |
| | | SELECT |
| | | es.id,es.theory_grade theoryGrade,ifnull(learn_grade,-1) learnGrade,es.user_id userId,es.exam_id examId, |
| | |
| | | ke.exam_name examName, |
| | | str.is_exam isExam, |
| | | bu.real_name securityName,company,bu.account,bu.sex,bu.paper_time paperTime,bu.securitynumber securityNumber,bu.avatar, |
| | | bd.dept_name companyName from |
| | | bd.dept_name companyName,bu.user_type isPaper |
| | | from |
| | | exam_score es |
| | | left join |
| | | ksxt_exam ke |
| | |
| | | </if> |
| | | <if test="examScore.examType!=null and examScore.examType!=''"> |
| | | and ke.exam_type = #{examScore.examType} |
| | | </if> |
| | | <if test="examScore.examType!=null and examScore.examType!=''"> |
| | | and ke.exam_type = #{examScore.examType} |
| | | </if> |
| | | <if test="examScore.isPaper==6"> |
| | | and bu.user_type = #{examScore.isPaper} |
| | | </if> |
| | | <if test="examScore.isPaper==7"> |
| | | and (bu.user_type = #{examScore.isPaper} or bu.user_type is null) |
| | | </if> |
| | | <if test="examScore.isAvatar==1"> |
| | | and bu.avatar is not null and bu.avatar!="" |
| | |
| | | <if test="examScore.securityName!=null and examScore.securityName!=''"> |
| | | and bu.real_name like concat('%', #{examScore.securityName},'%') |
| | | </if> |
| | | <if test="examScore.isPaper==6"> |
| | | and bu.user_type = #{examScore.isPaper} |
| | | </if> |
| | | <if test="examScore.isPaper==7"> |
| | | and (bu.user_type = #{examScore.isPaper} or bu.user_type is null) |
| | | </if> |
| | | <if test="examScore.account!=null and examScore.account!=''"> |
| | | and bu.account like concat('%', #{examScore.account},'%') |
| | | </if> |