yangys
2025-09-03 a3a9933cf1b49006edf470615236f94ebdaa4cb9
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}