|
@@ -251,7 +251,6 @@
|
|
LEFT JOIN class_grade cg ON cgu.grade_id = cg.grade_id
|
|
LEFT JOIN class_grade cg ON cgu.grade_id = cg.grade_id
|
|
LEFT JOIN `user` u ON u.user_id = cgu.user_id
|
|
LEFT JOIN `user` u ON u.user_id = cgu.user_id
|
|
where 1=1
|
|
where 1=1
|
|
- and u.user_id = 2
|
|
|
|
<if test="userId != null and userId !='' ">
|
|
<if test="userId != null and userId !='' ">
|
|
and u.user_id = #{userId}
|
|
and u.user_id = #{userId}
|
|
</if>
|
|
</if>
|