This commit is contained in:
wangw 2025-10-17 14:31:19 +08:00
parent a1ef6dd6da
commit ea744fc033
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public class MkConsumeCashbackServiceImpl extends ServiceImpl<MkConsumeCashbackM
if (CollUtil.isNotEmpty(cashbackStepList)) {
config.setCashbackStepList(cashbackStepList.stream().sorted(Comparator.comparing(MkConsumeCashbackStep::getAmount).reversed()).collect(Collectors.toList()));
for (MkConsumeCashbackStep cashbackStep : cashbackStepList) {
for (MkConsumeCashbackStep cashbackStep : config.getCashbackStepList()) {
log.info("消费返现3, cashbackStep: {}, userId: {}, amount: {}, orderId: {}", cashbackStep, userId, amount, orderId);
if (cashbackStep.getAmount().compareTo(amount) <= 0) {
BigDecimal cashbackAmount;