Browse Source

修改分润起始时间

lichunlei 2 năm trước cách đây
mục cha
commit
c990735d6f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      AppStart/Helper/Profit/ProfitHelperV2.cs

+ 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)
             {