This commit is contained in:
parent
a1ef6dd6da
commit
ea744fc033
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue