|
|
@@ -31,7 +31,7 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1")
|
|
|
+ if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1" && DateTime.Now.Hour >= 3)
|
|
|
{
|
|
|
StatTradeAmountEverDayV2();
|
|
|
StatBusinessService.Instance.StatTradeAmountEverDayV2();
|
|
|
@@ -599,7 +599,7 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1")
|
|
|
+ if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1" && DateTime.Now.Hour >= 3)
|
|
|
{
|
|
|
StartPosActNumEverTime();
|
|
|
StatBusinessService.Instance.StartPosActNumEverTime();
|
|
|
@@ -811,7 +811,7 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1")
|
|
|
+ if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1" && DateTime.Now.Hour >= 3)
|
|
|
{
|
|
|
StartNewUserNumEverTime();
|
|
|
}
|
|
|
@@ -995,7 +995,7 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1")
|
|
|
+ if(RedisDbconn.Instance.Get<string>("StatServerStatus") == "1" && DateTime.Now.Hour >= 3)
|
|
|
{
|
|
|
StatProfitEverDayEverTime();
|
|
|
}
|