Administrator
2021-09-09 6810a3f59a8a930f67e4dfba9ebad1d147df7196
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -76,7 +76,7 @@
        where
        bu.is_deleted = 0
        <if test="user.account!=null and user.account != ''">
            and bu.account = #{user.account}
            and bu.account like concat('%', #{user.account},'%')
        </if>
        <if test="user.hold!=null and user.hold != ''">
            and bu.hold = #{user.hold}
@@ -123,7 +123,7 @@
            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 like concat(concat('%', #{user.realName}),'%')