|
@@ -136,7 +136,7 @@
|
|
|
<sql id="findStudentsByOrganIdSql">
|
|
|
<where>
|
|
|
su.user_type_ LIKE '%STUDENT%' AND su.del_flag_ = 0
|
|
|
- <if test="organId != null">
|
|
|
+ <if test="organId != null and organId != ''">
|
|
|
AND FIND_IN_SET(su.organ_id_,#{organId})
|
|
|
</if>
|
|
|
<if test="search != null and search != ''">
|
|
@@ -579,7 +579,7 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="organId != null">
|
|
|
+ <if test="organId != null and organId != ''">
|
|
|
AND FIND_IN_SET(su.organ_id_,#{organId})
|
|
|
</if>
|
|
|
<if test="search != null and search != ''">
|