|
@@ -43,12 +43,12 @@ namespace MySystem
|
|
|
|
|
|
public void Ready(string curMonth)
|
|
|
{
|
|
|
- string check = function.ReadInstance("/LeaderComp/" + curMonth + ".txt");
|
|
|
+ string check = function.ReadInstance("/LeaderComp/" + DateTime.Now.ToString("yyyyMMdd") + ".txt");
|
|
|
if(!string.IsNullOrEmpty(check))
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
- function.WritePage("/LeaderComp/", curMonth + ".txt", DateTime.Now.ToString());
|
|
|
+ function.WritePage("/LeaderComp/", DateTime.Now.ToString("yyyyMMdd") + ".txt", DateTime.Now.ToString());
|
|
|
CustomerSqlConn.op("delete from LeaderCompTradeStat;delete from LeaderCompTmp;delete from LeaderCompPrize;delete from LeaderCompAddTrade;", MysqlConn.SqlConnStr);
|
|
|
Thread.Sleep(10000);
|
|
|
DateTime Start = DateTime.Parse("2023-06-01 00:00:00");
|