|
@@ -106,6 +106,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userName != null and userName != ''">
|
|
|
AND u.user_name like concat('%', #{userName}, '%')
|
|
|
</if>
|
|
|
+ <if test="tenantId != null and tenantId != '' and tenantId !=0">
|
|
|
+ AND u.tenant_id = #{tenantId}
|
|
|
+ </if>
|
|
|
<if test="phonenumber != null and phonenumber != ''">
|
|
|
AND u.phonenumber like concat('%', #{phonenumber}, '%')
|
|
|
</if>
|
|
@@ -124,6 +127,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userName != null and userName != ''">
|
|
|
AND u.user_name like concat('%', #{userName}, '%')
|
|
|
</if>
|
|
|
+ <if test="tenantId != null and tenantId != '' and tenantId !=0">
|
|
|
+ AND u.tenant_id = #{tenantId}
|
|
|
+ </if>
|
|
|
<if test="phonenumber != null and phonenumber != ''">
|
|
|
AND u.phonenumber like concat('%', #{phonenumber}, '%')
|
|
|
</if>
|