1.大哥数据入库时进行大哥总金币运算
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user