会员充值链路

This commit is contained in:
2025-03-10 14:32:18 +08:00
parent 0ddd267fb3
commit 2218e8ac32
2 changed files with 7 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ public class ShopActivateServiceImpl extends ServiceImpl<ShopActivateMapper, Sho
@Override
public void giveActivate(ShopUser shopUser, BigDecimal memAmount, Long relationId) {
log.info("充钱4 会员充值奖励5");
ShopActivate activate = queryChain().select().eq(ShopActivate::getShopId, shopUser.getShopId())
.le(ShopActivate::getAmount, memAmount)
.orderBy(ShopActivate::getGiftAmount, false)