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