Эх сурвалжийг харах

统计交易额排除广电卡,单独统计

lcl 2 жил өмнө
parent
commit
ff51571b21

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         startId = "867041";
                     }
-                    string sql = "select Id from TradeRecord where Id>=" + startId + " and QueryCount=0 and ActStatus=1 order by Id limit 50";
+                    string sql = "select Id from TradeRecord where Id>=" + startId + " and QueryCount=0 and ActStatus=1 and BrandId=14 order by Id limit 50";
                     if(Id > 0)
                     {
                         sql = "select Id from TradeRecord where Id=" + Id;