p-honggang.li
2025-08-14 b885824ae58ae567cd637d6a5fd5d5b178e49d2f
src/main/java/com/webmanage/service/impl/PointsFlowServiceImpl.java
@@ -171,7 +171,7 @@
        }
        // 计算积分值
        Integer basePoints = pointsRule.getPointsValue() != null ? pointsRule.getPointsValue() : 0;
        Integer basePoints = 0; //pointsRule.getPointsValue() != null ? pointsRule.getPointsValue() : 0;
        Integer totalPoints = basePoints * count;
        // 如果是消费类型,积分为负数
@@ -180,8 +180,8 @@
        }
        // 检查每日积分上限
        if (basePoints > 0 && pointsRule.getPriority() != null && pointsRule.getPriority() > 0) {
            checkDailyLimit(userId, unitId, ruleName, totalPoints, pointsRule.getPriority());
        if (basePoints > 0) {
            checkDailyLimit(userId, unitId, ruleName, totalPoints, 0);
        }
        // 创建积分流水记录