This commit is contained in:
2026-04-28 14:05:52 +08:00
parent f1b6440034
commit ba32423fcf
2 changed files with 16 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ public class TtRollJackpotOrnamentsServiceImpl extends ServiceImpl<TtRollJackpot
.list();
BigDecimal total = BigDecimal.ZERO;
for (TtRollJackpotOrnaments item : list){
if (item.getPrice() == null) continue;
total = total.add(item.getPrice().multiply(new BigDecimal(item.getOrnamentsNum())));
}
new LambdaUpdateChainWrapper<>(ttRollJackpotMapper)