xieb
2024-01-11 567775c8ef9761b5fe5d04073ca329b7ef30e22d
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -54,6 +54,9 @@
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
        </if>
        <if test="user.phone!=null and user.phone != ''">
            and phone like concat('%', #{user.phone},'%')
        </if>
        <if test="user.postId!=null and user.postId != ''">
            and post_id = #{user.postId}
        </if>