소스 검색

领导人达标奖,统计交易后,间隔时间设为4000秒

lichunlei 1 년 전
부모
커밋
e9065b24c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      AppStart/Helper/LeaderCompPrizeHelper.cs

+ 1 - 1
AppStart/Helper/LeaderCompPrizeHelper.cs

@@ -124,7 +124,7 @@ namespace MySystem
                 //计算创客名下的达标人数,直推和间接
                 function.WriteLog("MonthString:" + MonthString, "领导人达标奖励日志");
 
-                Thread.Sleep(300000);
+                Thread.Sleep(4000000);
                 
                 // List<LeaderCompTradeStat> stats = db.LeaderCompTradeStat.Where(m => m.StatMonth == MonthString).ToList();
                 DataTable stats = CustomerSqlConn.dtable("select UserId,ParentUserId,ParentNav,TradeAmount,(select sum(TradeAmount) from LeaderCompTradeStat where ParentUserId=p.UserId and TradeAmount<30000000) SmallTradeAmount from LeaderCompTradeStat p where StatMonth='" + MonthString + "' and UserId>1", MysqlConn.ReadSqlConnStr);