|
@@ -63,7 +63,7 @@
|
|
SELECT t1.id_ AS userId, t1.username_ FROM sys_user t1
|
|
SELECT t1.id_ AS userId, t1.username_ FROM sys_user t1
|
|
<if test="param.clientType != null">
|
|
<if test="param.clientType != null">
|
|
<if test="param.clientType.code == 'TEACHER'"> LEFT JOIN teacher t2 ON (t1.id_ = t2.user_id_)</if>
|
|
<if test="param.clientType.code == 'TEACHER'"> LEFT JOIN teacher t2 ON (t1.id_ = t2.user_id_)</if>
|
|
- <if test="param.clientType.code == 'STUDENT'"> LEFT JOIN student t2 ON (t1.id_ = t2.user_id_)</if>
|
|
|
|
|
|
+ <if test="param.clientType.code == 'STUDENT'"> LEFT JOIN student t2 ON (t1.id_ = t2.user_id_ and t2.hide_flag_ = 0)</if>
|
|
</if>
|
|
</if>
|
|
<where>
|
|
<where>
|
|
<if test="param.subjectIds != null">
|
|
<if test="param.subjectIds != null">
|