Administrator
2021-09-08 ce56ee73b3a280e9ccbc7258a1402dbaaf3ec4c5
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}),'%')