| | |
| | | <if test="examScore.examType!=null and examScore.examType!=''"> |
| | | and ke.exam_type = #{examScore.examType} |
| | | </if> |
| | | <if test="examScore.isAvatar==1"> |
| | | and bu.avatar is not null and bu.avatar!="" |
| | | </if> |
| | | <if test="examScore.isAvatar==2"> |
| | | and (bu.avatar is null or bu.avatar="") |
| | | </if> |
| | | <if test="examScore.candidateNo!=null and examScore.candidateNo!=''"> |
| | | and es.candidate_no = #{examScore.candidateNo} |
| | | </if> |
| | | <if test="examScore.qualified!=null"> |
| | | and es.qualified = #{examScore.qualified} |
| | | </if> |
| | | <if test="examScore.examDate!=null"> |
| | | and date_format(es.exam_time,'%Y-%m-%d') = #{examScore.examDate} |
| | | <if test="examScore.examDate!=null and examScore.examDate!=''"> |
| | | and date_format(ke.start_time,'%Y-%m-%d') = #{examScore.examDate} |
| | | </if> |
| | | order by es.id desc |
| | | </select> |
| | |
| | | blade_user bu |
| | | on |
| | | bu.id = es.user_id |
| | | left join |
| | | ksxt_exam ke |
| | | on |
| | | ke.id = es.exam_id |
| | | where |
| | | bu.cardid = #{idCardNo} |
| | | and es.exam_id = #{examId} |
| | | and DATE_FORMAT(ke.start_time,'%Y-%m-%d') = #{startTime} |
| | | </select> |
| | | |
| | | <!--修改成绩信息--> |
| | |
| | | str.id = es.apply_id |
| | | where |
| | | 1=1 |
| | | and (str.is_exam = 2 or str.is_exam = 3) |
| | | and (str.is_exam = 2 or str.is_exam = 3 or str.is_exam = 4) |
| | | <if test="examScore.examName!=null and examScore.examName!=''"> |
| | | and ke.exam_name like concat('%', #{examScore.examName},'%') |
| | | </if> |
| | |
| | | <if test="examScore.isExam!=null and examScore.isExam!=''"> |
| | | and str.is_exam = #{examScore.isExam} |
| | | </if> |
| | | <if test="examScore.isAvatar==1"> |
| | | and bu.avatar is not null and bu.avatar!="" |
| | | </if> |
| | | <if test="examScore.isAvatar==2"> |
| | | and (bu.avatar is null or bu.avatar="") |
| | | </if> |
| | | <if test="examScore.examType!=null and examScore.examType!=''"> |
| | | and ke.exam_type = #{examScore.examType} |
| | | </if> |
| | |
| | | and es.qualified = #{examScore.qualified} |
| | | </if> |
| | | <if test="examScore.examDate!=null and examScore.examDate!=''"> |
| | | and date_format(es.exam_time,'%Y-%m-%d') = #{examScore.examDate} |
| | | and date_format(ke.start_time,'%Y-%m-%d') = #{examScore.examDate} |
| | | </if> |
| | | order by es.id desc |
| | | </select> |
| | | |
| | | |