xieb
2024-01-12 0006b441b0db359ed4069460c8b473b4b3cbe1d8
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>