@@ -93,7 +93,7 @@
and t4.id = #{dto.queryId}
</if>
- <if test="dto.gradeId == null">
+ <if test="dto.gradeId != null">
and t4.grade_id = #{dto.gradeId}
<if test="dto.order == null">