Explorar o código

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

lichunlei %!s(int64=3) %!d(string=hai) anos
pai
achega
261e74622e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = "";