yomi变动余额接口报错处理

This commit is contained in:
tianfeng 2026-01-23 15:39:52 +08:00
parent ce78518698
commit 988c42cfd2

View File

@ -221,7 +221,7 @@ public class YomiGameServiceImpl implements YomiGameService {
.origin(GoldOrigin.YOMI_GAME.name() + "_" + cmd.getGameId())
.originDescribe(GoldOrigin.YOMI_GAME.getDesc() + "[" + cmd.getGameId() + "]")
.eventId(cmd.getRoundId())
.amount(ArithmeticUtils.toBigDecimal(cmd.getChangeValue()))
.amount(ArithmeticUtils.toBigDecimal(Math.abs(cmd.getChangeValue())))
.build();
}