Explorar el Código

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

DuGuYang hace 3 años
padre
commit
fc5b857fc8

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

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