1.大哥数据入库时进行大哥总金币运算

This commit is contained in:
2025-06-25 19:52:55 +08:00
parent 8065a8d048
commit 4f575c2eb9

View File

@@ -35,6 +35,7 @@ public class ServerBigBrotherServiceImpl extends ServiceImpl<ServerBigBrotherMap
save(bigBrother);
} else {
bigBrother.setId(serverBigBrother.getId());
bigBrother.setTotalGiftCoins(bigBrother.getHistoricHighCoins()+serverBigBrother.getTotalGiftCoins());
updateById(bigBrother);
stopWatch.stop();
long totalTimeMillis = stopWatch.getTotalTimeMillis();