| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectExamRecordVo"> |
| | | select a.id, a.company_id, a.student_id, a.plan_name, a.course_name,a.level,a.period,a.actual_period,a.score, |
| | | select a.id, a.company_id, a.student_id, a.plan_name, a.course_name,a.level,a.plan_date,a.period,a.actual_period,a.score, |
| | | a.passed, a.create_by, a.create_time, a.update_by, a.update_time, a.remark,b.name as company_name |
| | | from ex_exam_record a |
| | | left join sys_company b on b.id=a.company_id |
| | |
| | | <if test="companyId!=null"> |
| | | and a.company_id = #{companyId} |
| | | </if> |
| | | <if test="planYear != null and planYear != ''"> |
| | | AND YEAR(a.plan_date) = #{planYear} |
| | | </if> |
| | | </where> |
| | | order by a.id desc |
| | | </select> |