dos 1 місяць тому
батько
коміт
24bf3cc5af

+ 2 - 2
game-business/src/main/java/com/game/business/controller/AppUsersCashrecordController.java

@@ -200,7 +200,7 @@ public class AppUsersCashrecordController extends BaseController
             tran.setCurrencyType(TranCurrencyType.Balance.getType());
             tran.setTranGroupId(IdUtil.getSnowflakeNextId());
             tran.setRemarks("提现审核失败:回退金额");
-            appUserService.updateUserAmount(tran);
+            appUserService.updateUserAmount(tran,true);
         }
         int rest = appUsersCashrecordService.updateAppUsersCashrecord(update);
         logger.info("{},提现审核:{}",appUser.getUserid(),appUsersCashrecord.getStatus());
@@ -261,7 +261,7 @@ public class AppUsersCashrecordController extends BaseController
                     tran.setCurrencyType(TranCurrencyType.Balance.getType());
                     tran.setTranGroupId(IdUtil.getSnowflakeNextId());
                     tran.setRemarks("转出失败:回退金额");
-                    appUserService.updateUserAmount(tran);
+                    appUserService.updateUserAmount(tran,true);
                 }else{
                     logger.info("订单{},当前状态非转出中,停止更新失败逻辑",orderNo);
                 }