yangys
2025-09-09 240a4fa7811733f9617227cb58670a71b27389e1
blade-service/blade-system/src/main/java/org/springblade/system/mapper/UserMapper.xml
@@ -36,10 +36,12 @@
            and tenant_id = #{user.tenantId}
        </if>
        <if test="user.account!=null and user.account != ''">
            and account = #{user.account}
            <bind name="account" value="'%'+user.account+'%'"/>
            and account like #{account}
        </if>
        <if test="user.realName!=null and user.realName != ''">
            and real_name = #{user.realName}
            <bind name="realName" value="'%'+user.realName+'%'"/>
            and real_name like #{realName}
        </if>
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}