@@ -95,5 +95,8 @@
<if test="dto.classId != null">
and t1.id = #{dto.classId}
</if>
+ <if test="dto.gradeId != null">
+ and t1.grade_id = #{dto.gradeId}
+ </if>
</select>
</mapper>