@@ -39,6 +39,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN course_education_type cet ON cet.id = cpt.education_id
WHERE
obc.`status` = 1
+ and cet.`status` = 1
+ and cb.`status` = 1
<if test="gradeType != null and gradeType != ''">
and obc.grade_type = #{gradeType}
</if>