“djh”
4 days ago c26e227abe288476c11b0a8b7875045e71efa14c
multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
@@ -29,7 +29,7 @@
    </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
@@ -58,6 +58,9 @@
            <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>