|
@@ -57,7 +57,7 @@
|
|
and a.school_id = #{schoolId}
|
|
and a.school_id = #{schoolId}
|
|
</if>
|
|
</if>
|
|
<if test="userInfo != null and userInfo != ''">
|
|
<if test="userInfo != null and userInfo != ''">
|
|
- and a.login_name like concat('%', #{userInfo} , '%') or a.real_name like concat('%', #{userInfo} , '%') or a.mobile_number like concat('%', #{userInfo} , '%')
|
|
|
|
|
|
+ and (a.login_name like concat('%', #{userInfo} , '%') or a.real_name like concat('%', #{userInfo} , '%') or a.mobile_number like concat('%', #{userInfo} , '%'))
|
|
</if>
|
|
</if>
|
|
<if test="orgId != null and orgId != ''">
|
|
<if test="orgId != null and orgId != ''">
|
|
and a.org_id = #{orgId}
|
|
and a.org_id = #{orgId}
|