Selaa lähdekoodia

押金机具激活奖励条件修改,押金不等于0

lcl 1 vuosi sitten
vanhempi
commit
d0fd445e55
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -347,7 +347,7 @@ namespace MySystem
             WebCMSEntities db = new WebCMSEntities();
             DateTime yesterday = DateTime.Now.AddDays(-1);
             DateTime today = DateTime.Now.AddMinutes(-10);
-            IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && !string.IsNullOrEmpty(m.SeoKeyword) && m.Detail != "1" && m.BrandId != 14);
+            IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && !string.IsNullOrEmpty(m.SeoKeyword) && m.SeoKeyword != "" && m.SeoKeyword != "0" && m.Detail != "1" && m.BrandId != 14);
             if (posid > 0)
             {
                 posList = posList.Where(m => m.Id == posid);