Browse Source

押金推送,服务费奖励发放直接通过机具号匹配

lcl 10 months ago
parent
commit
26a26e97b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

+ 1 - 1
AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

@@ -217,7 +217,7 @@ namespace MySystem
                                 edit.Status = 2;
                             }
                         }
-                        pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId && m.ActivationState == 1);
+                        pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == act.SnNo && m.ActivationState == 1);
                         if (pos != null)
                         {
                             ActivateRecord edit = spdb.ActivateRecord.FirstOrDefault(m => m.Id == act.Id);