Browse Source

增加助利宝统计标记,只统计有标记的交易记录

lichunlei 3 years ago
parent
commit
261e74622e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/StatHelpProfitService.cs

+ 1 - 1
AppStart/Helper/StatHelpProfitService.cs

@@ -52,7 +52,7 @@ namespace MySystem
                     {
                         startId = "867041";
                     }
-                    DataTable idsDt = OtherMySqlConn.dtable("select Id from TradeRecord where Id>=" + startId + " and CreateDate>='2022-09-05 00:00:00' and MerchantId in (select MerchantId from HelpProfitMerIds) and QueryCount=2 order by Id limit 50");
+                    DataTable idsDt = OtherMySqlConn.dtable("select Id from TradeRecord where Id>=" + startId + " and CreateDate>='2022-09-05 00:00:00' and MerchantId in (select MerchantId from HelpProfitMerIds) and SeoTitle='HelpProfit' and QueryCount>0 order by Id limit 50");
                     if(idsDt.Rows.Count > 0)
                     {
                         string ids = "";