浏览代码

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

lcl 1 年之前
父节点
当前提交
d0fd445e55
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);