@@ -671,5 +671,6 @@
<if test="teacherId!=null">
AND cgtm.user_id_ = #{teacherId}
</if>
+ AND cg.id_ IS NOT NULL
</select>
</mapper>
@@ -641,5 +641,6 @@
<foreach collection="studentIds" item="studentId" open="(" close=")" separator=",">
#{studentId}
</foreach>
+ AND sub.id__ IS NOT NULL