diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java index 6382c801..d1bef897 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java @@ -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(); }