Explorar o código

修复LeaderRewardQueue队列bug

lcl hai 1 ano
pai
achega
0ce2544213
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      AppStart/Helper/StatService.cs

+ 1 - 0
AppStart/Helper/StatService.cs

@@ -1275,6 +1275,7 @@ namespace MySystem
                         int PosId = int.Parse(content);
                         Thread.Sleep(1000);
                         WebCMSEntities db = new WebCMSEntities();
+                        OpModels.WebCMSEntities opdb = new OpModels.WebCMSEntities();
                         PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == PosId && m.ActivationState == 1 && m.CreditTrade >= 10000 && m.BrandId != 14);
                         if (pos != null)
                         {