| | |
| | | <if test="paper.deptId!=null and paper.deptId!=''"> |
| | | and bd.id = #{paper.deptId} |
| | | </if> |
| | | <if test="paper.deptName!=null and paper.deptName!=''"> |
| | | and bd.dept_name like concat('%',#{paper.deptName},'%') |
| | | </if> |
| | | <if test="paper.examTime!=null and paper.examTime!=''"> |
| | | and date_format(ke.start_time,'%Y-%m-%d') = #{paper.examTime} |
| | | </if> |
| | | <if test="paper.auditStatus!=null and paper.auditStatus!=''"> |
| | | and audit_status = #{paper.auditStatus} |
| | | </if> |
| | | order by start_time desc |
| | | order by ke.start_time desc,ke.id desc |
| | | </select> |
| | | |
| | | <select id="PagerSubject" resultMap="PagerSubjectAnswer"> |