| | |
| | | and tenant_id = #{user.tenantId} |
| | | </if> |
| | | <if test="user.account!=null and user.account != ''"> |
| | | and account = #{user.account} |
| | | and account LIKE CONCAT('%', #{user.account},'%') |
| | | </if> |
| | | <if test="user.realName!=null and user.realName != ''"> |
| | | and real_name = #{user.realName} |
| | | and real_name LIKE CONCAT('%', #{user.realName},'%') |
| | | </if> |
| | | <if test="user.userType!=null and user.userType != ''"> |
| | | and user_type = #{user.userType} |
| | |
| | | </foreach> |
| | | ) |
| | | </if> |
| | | <if test="user.phone !=null and user.phone !='' "> |
| | | AND phone LIKE CONCAT('%',#{user.phone},'%') |
| | | </if> |
| | | ORDER BY id |
| | | </select> |
| | | |