diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/CumulativeRechargeReceiveRewardCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/CumulativeRechargeReceiveRewardCmdExe.java index d92c8a02..6d4b26d6 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/CumulativeRechargeReceiveRewardCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/CumulativeRechargeReceiveRewardCmdExe.java @@ -73,10 +73,10 @@ public class CumulativeRechargeReceiveRewardCmdExe { BigDecimal monthlyRecharge = ResponseAssert.requiredSuccess(userRechargeCountClient .getThisMonthTotalPersonalRecharge(cmd.getReqUserId())); - // 2046 不可领取 + // 2046 不可领取:领取接口必须再次校验当前月充值金额是否达到该档位,不能只依赖前端展示状态。 ResponseAssert.isFalse(PropsErrorCode.UNCLAIMABLE, Objects.isNull(monthlyRecharge) || !ArithmeticUtils - .gt(monthlyRecharge, BigDecimal.ZERO)); + .gte(monthlyRecharge, cumulativeRechargeContent.getQuantity())); activitySendCommon.sendActivityGroup(SendRewardGroup.builder() .trackId(ruleConfig.getId())