lcl 1 год назад
Родитель
Сommit
916710accf

+ 5 - 0
AppStart/Helper/StatService.cs

@@ -357,6 +357,7 @@ namespace MySystem
             BrandIds.Add(24);
             BrandIds.Add(25);
             BrandIds.Add(26);
+            BrandIds.Add(32);
             WebCMSEntities db = new WebCMSEntities();
             DateTime yesterday = DateTime.Now.AddDays(-1);
             DateTime today = DateTime.Now.AddMinutes(-10);
@@ -472,6 +473,7 @@ namespace MySystem
             BrandIds.Add(24);
             BrandIds.Add(25);
             BrandIds.Add(26);
+            BrandIds.Add(32);
             IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && (string.IsNullOrEmpty(m.SeoKeyword) || m.SeoKeyword == "0") && m.CreditTrade >= 5000 && !BrandIds.Contains(m.BrandId) && m.Detail != "1");
             if (posid > 0)
             {
@@ -795,6 +797,7 @@ namespace MySystem
             ChkBrandIds.Add(24);
             ChkBrandIds.Add(25);
             ChkBrandIds.Add(26);
+            ChkBrandIds.Add(32);
             if(string.IsNullOrEmpty(MerNo) && !ChkBrandIds.Contains(pos.BrandId))
             {
                 // MerNo = "n" + DateTime.Now.ToString("yyyyMMddHHmmssfff");
@@ -811,6 +814,7 @@ namespace MySystem
             BrandIds.Add(24);
             BrandIds.Add(25);
             BrandIds.Add(26);
+            BrandIds.Add(32);
             bool check = false;
             if(!BrandIds.Contains(pos.BrandId) && !MerNo.Contains("*"))
             {
@@ -1236,6 +1240,7 @@ namespace MySystem
                         BrandIds.Add(24);
                         BrandIds.Add(25);
                         BrandIds.Add(26);
+                        BrandIds.Add(32);
                         WebCMSEntities db = new WebCMSEntities();
                         OpModels.WebCMSEntities opdb = new OpModels.WebCMSEntities();
                         PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == PosId && m.ActivationState == 1 && ((!string.IsNullOrEmpty(m.SeoKeyword) && m.SeoKeyword != "0" && m.CreditTrade >= 1000) || BrandIds.Contains(m.BrandId)));

+ 1 - 0
AppStart/Helper/WifiWarningService.cs

@@ -59,6 +59,7 @@ namespace MySystem
                 BrandIds.Add(24);
                 BrandIds.Add(25);
                 BrandIds.Add(26);
+                BrandIds.Add(32);
                 DateTime time = DateTime.Now.AddDays(-30);
                 List<PosMachinesTwo> WifiList = db.PosMachinesTwo.Where(m => m.Id > Id && BrandIds.Contains(m.BrandId) && m.ActivationState == 0 && m.TransferTime < time && m.Sort == 0).OrderBy(m => m.Id).Take(20).ToList();
                 if(WifiList.Count > 0)

+ 1 - 0
AppStart/Helper/WifiWithholdService.cs

@@ -60,6 +60,7 @@ namespace MySystem
                 BrandIds.Add(24);
                 BrandIds.Add(25);
                 BrandIds.Add(26);
+                BrandIds.Add(32);
                 DateTime time = DateTime.Now.AddDays(-35);
                 List<PosMachinesTwo> WifiList = db.PosMachinesTwo.Where(m => m.Id > Id && BrandIds.Contains(m.BrandId) && m.ActivationState == 0 && m.TransferTime < time && m.Sort == 1).OrderBy(m => m.Id).Take(20).ToList();
                 if(WifiList.Count > 0)

+ 1 - 0
AppStart/Timer/TestHelper.cs

@@ -342,6 +342,7 @@ public class TestHelper
         bids.Add(24);
         bids.Add(25);
         bids.Add(26);
+        bids.Add(32);
         List<Users> users = db.Users.Where(m => m.AuthFlag == 1).ToList();
         function.WriteLog("1--" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"), "统计来量吧漏掉的交易");
         List<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => bids.Contains(m.BrandId)).ToList();

+ 1 - 0
Util/Utils.cs

@@ -482,6 +482,7 @@ namespace MySystem
             Check.Add(24);
             Check.Add(25);
             Check.Add(26);
+            Check.Add(32);
             return Check.Contains(BrandId);
         }