Explorar o código

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

DuGuYang %!s(int64=3) %!d(string=hai) anos
pai
achega
fc5b857fc8

+ 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
                     {
                     {