瀏覽代碼

Merge branch 'feature-dgy-机具回收' into feature-dgy-后台优化

DuGuYang 3 年之前
父節點
當前提交
fc5b857fc8
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      Areas/Admin/Controllers/MainServer/ToChargeBackRecordController.cs

+ 1 - 1
Areas/Admin/Controllers/MainServer/ToChargeBackRecordController.cs

@@ -316,7 +316,7 @@ namespace MySystem.Areas.Admin.Controllers
                     userAccount.ToChargeAmount -= toChargeBackRecord.ChargeAmount;
                     userAccount.ToChargeAmount -= toChargeBackRecord.ChargeAmount;
                     toChargeBackRecord.Status = 2;
                     toChargeBackRecord.Status = 2;
                 }
                 }
-                if (toChargeBackRecord.Id > 0 && toChargeBackRecord.Id == 1)//已扣款
+                if (toChargeBackRecord.Id > 0 && toChargeBackRecord.Status == 1)//已扣款
                 {
                 {
                     var userAccountRecord = db.UserAccountRecord.Add(new UserAccountRecord
                     var userAccountRecord = db.UserAccountRecord.Add(new UserAccountRecord
                     {
                     {