release- 4.2. 重新计算积分

release-2024-04-25
huangyw 2 months ago
parent 9a74d8b591
commit a3996546bc

@ -943,7 +943,7 @@ public class LotteryService {
}); });
UserInfo userInfo = userInfoDao.findById(userId).orElse(null); UserInfo userInfo = userInfoDao.findById(userId).orElse(null);
assert userInfo != null; assert userInfo != null;
userInfo.setPoint(totalScore.get()); userInfo.setPoint(20 + totalScore.get());
userInfoDao.save(userInfo); userInfoDao.save(userInfo);
}); });

Loading…
Cancel
Save