|
@@ -161,7 +161,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null and userId != ''" >
|
|
|
AND u.user_id = #{userId}
|
|
|
</if>
|
|
|
- <if test="gradePoint != null and gradePoint != ''" >
|
|
|
+ <if test="gradePoint != null" >
|
|
|
AND (SELECT COUNT(u.user_id) FROM class_grade_user u where 1=1 AND u.status in (1) and u.user_id= u.user_id) > 0
|
|
|
</if>
|
|
|
</select>
|