dos 1 개월 전
부모
커밋
24bf3cc5af
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      game-business/src/main/java/com/game/business/controller/AppUsersCashrecordController.java

+ 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);
                 }