lichunlei 2 жил өмнө
parent
commit
c990735d6f

+ 1 - 1
AppStart/Helper/Profit/ProfitHelperV2.cs

@@ -35,7 +35,7 @@ namespace MySystem
         }
         public void StatProfitDo()
         {
-            DateTime check = DateTime.Parse(DateTime.Now.AddMonths(-1).ToString("yyyy-MM-dd") + " 00:00:00");
+            DateTime check = DateTime.Parse(DateTime.Now.AddMonths(-1).ToString("yyyy-MM") + "-01 00:00:00");
             DateTime end = DateTime.Parse(check.AddMonths(1).AddDays(-1).ToString("yyyy-MM-dd") + " 00:00:00");
             while (check <= end)
             {