xieb
2024-01-20 cf17fb5138ba67f1ef859496a7080eaaea418237
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>