|
@@ -119,7 +119,7 @@
|
|
<where>
|
|
<where>
|
|
sgs.tenant_id_ = #{tenantId}
|
|
sgs.tenant_id_ = #{tenantId}
|
|
<if test="teacherId != null">
|
|
<if test="teacherId != null">
|
|
- sgs.teacher_id_ = #{teacherId}
|
|
|
|
|
|
+ AND sgs.teacher_id_ = #{teacherId}
|
|
</if>
|
|
</if>
|
|
<if test="studentId != null">
|
|
<if test="studentId != null">
|
|
AND sgs.user_id_ = #{studentId}
|
|
AND sgs.user_id_ = #{studentId}
|