| | |
| | | sr.*, |
| | | bt.dept_name AS deptName, |
| | | bt0.dept_name AS trainUnitName, |
| | | bu.real_name realName,bu.phone,bu.cardid idCardNo, |
| | | bu.real_name realName,bu.phone,bu.cardid idCardNo,bu.unit_name unitName, |
| | | ke.start_time trainExamTime,if(ke.audit_status=1,ke.exam_name,"") trainExamName, |
| | | ke.exam_type examType,sr.audit_status auditStatus, |
| | | "保安证" applyCard |
| | |
| | | </if> |
| | | <if test="trainingRegistration.userId!=null and trainingRegistration.userId!=''"> |
| | | and sr.user_id = #{trainingRegistration.userId} |
| | | </if> |
| | | <if test="trainingRegistration.unitName!=null and trainingRegistration.unitName!=''"> |
| | | and bu.unit_name like concat('%', #{trainingRegistration.unitName},'%') |
| | | </if> |
| | | <if test="trainingRegistration.deptId!=null and trainingRegistration.deptId!=''"> |
| | | and bu.dept_id = #{trainingRegistration.deptId} |
| | |
| | | else "缺考" end as isExam, |
| | | bt.dept_name AS deptName, |
| | | bt0.dept_name AS trainUnitName, |
| | | bu.real_name realName, |
| | | bu.phone,bu.cardid idCardNo, |
| | | bu.real_name realName,bu.phone,bu.cardid idCardNo,bu.unit_name unitName, |
| | | ke.start_time trainExamTime, |
| | | if(ke.audit_status=1,ke.exam_name,"") trainExamName, |
| | | case |
| | |
| | | <if test="trainingRegistration.deptName!=null and trainingRegistration.deptName!=''"> |
| | | and bt.dept_name like concat('%', #{trainingRegistration.deptName},'%') |
| | | </if> |
| | | <if test="trainingRegistration.unitName!=null and trainingRegistration.unitName!=''"> |
| | | and bu.unit_name like concat('%', #{trainingRegistration.unitName},'%') |
| | | </if> |
| | | <if test="trainingRegistration.realName!=null and trainingRegistration.realName!=''"> |
| | | and bu.real_name like concat('%', #{trainingRegistration.realName},'%') |
| | | </if> |