| | |
| | | SELECT |
| | | es.id,es.theory_grade theoryGrade,ifnull(learn_grade,-1) learnGrade,es.user_id userId,es.exam_id examId, |
| | | es.exam_time examTime,all_grade allGrade,exam_end_time examEndTime,qualified,es.candidate_no candidateNo, |
| | | ke.exam_name examName,date_format(ke.start_time,'%Y-%m-%d') startTime,date_format(ke.end_time,'%Y-%m-%d') endTime, |
| | | ke.exam_name examName,date_format(ke.start_time,'%Y-%m-%d') startTime,date_format(ke.end_time,'%Y-%m-%d %H:%i:%s') endTime, |
| | | 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,bu.user_type isPaper |
| | |
| | | str.id = es.apply_id |
| | | where |
| | | 1=1 |
| | | and (str.is_exam = 2 or str.is_exam = 3 or str.is_exam = 4) |
| | | and (str.is_exam = 2 or str.is_exam = 3 or str.is_exam = 4 or str.is_exam = 5) |
| | | <if test="examScore.examName!=null and examScore.examName!=''"> |
| | | and ke.exam_name like concat('%', #{examScore.examName},'%') |
| | | </if> |
| | |
| | | str.id = es.apply_id |
| | | where |
| | | 1=1 |
| | | and (str.is_exam = 2 or str.is_exam = 3 or str.is_exam = 4) |
| | | and (str.is_exam = 2 or str.is_exam = 3 or str.is_exam = 4 or str.is_exam = 5) |
| | | <if test="examScore.examName!=null and examScore.examName!='' and examScore.examName!='undefined'"> |
| | | and ke.exam_name like concat('%', #{examScore.examName},'%') |
| | | </if> |