|
@@ -51,12 +51,12 @@ namespace MySystem
|
|
|
public void StatProfiting()
|
|
|
{
|
|
|
string Month = DateTime.Now.AddMonths(-1).ToString("yyyyMM");
|
|
|
- string check = function.ReadInstance("/ProfitStat/" + Month + "-1.txt");
|
|
|
+ string check = function.ReadInstance("/ProfitStat/" + Month + "-1-before.txt");
|
|
|
if (!string.IsNullOrEmpty(check))
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
- function.WritePage("/ProfitStat/", Month + "-1.txt", DateTime.Now.ToString());
|
|
|
+ function.WritePage("/ProfitStat/", Month + "-1-before.txt", DateTime.Now.ToString());
|
|
|
try
|
|
|
{
|
|
|
WebCMSEntities db = new WebCMSEntities();
|