Преглед изворни кода

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;
                     toChargeBackRecord.Status = 2;
                 }
-                if (toChargeBackRecord.Id > 0 && toChargeBackRecord.Id == 1)//已扣款
+                if (toChargeBackRecord.Id > 0 && toChargeBackRecord.Status == 1)//已扣款
                 {
                     var userAccountRecord = db.UserAccountRecord.Add(new UserAccountRecord
                     {