p-honggang.li
2025-08-18 4ed05bb034dc0bddd9c1f4b6a67a7aed1fc0a5e6
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);
        }
        // 创建积分流水记录