|
@@ -107,7 +107,7 @@
|
|
|
LEFT JOIN sys_user su ON er.student_id_ = su.id_
|
|
|
WHERE su.del_flag_ = 0 AND su.lock_flag_ = 0
|
|
|
<if test="search != null and search != ''">
|
|
|
- AND (stu.user_id_ = #{search} OR su.real_name_ LIKE CONCAT ('%', #{search}, '%') OR su.phone_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
+ AND (su.id_ = #{search} OR su.real_name_ LIKE CONCAT ('%', #{search}, '%') OR su.phone_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
<if test="organIds != null">
|
|
|
AND er.organ_id_ IN
|
|
@@ -121,7 +121,7 @@
|
|
|
LEFT JOIN sys_user su ON er.student_id_ = su.id_
|
|
|
WHERE su.del_flag_ = 0 AND su.lock_flag_ = 0
|
|
|
<if test="search != null and search != ''">
|
|
|
- AND (stu.user_id_ = #{search} OR su.real_name_ LIKE CONCAT ('%', #{search}, '%') OR su.phone_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
+ AND (su.id_ = #{search} OR su.real_name_ LIKE CONCAT ('%', #{search}, '%') OR su.phone_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
<if test="organIds != null">
|
|
|
AND er.organ_id_ IN
|