lcl 1 rok temu
rodzic
commit
feac82a74b

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

@@ -1831,7 +1831,7 @@ namespace MySystem
             db.Dispose();
             rdb.Dispose();
 
-            HelpProfitHelper.Instance.StatProfitEveryDay(DateTime.Now.AddMonths(-1).ToString("yyyyMM")); //助利宝分润
+            // HelpProfitHelper.Instance.StatProfitEveryDay(DateTime.Now.AddMonths(-1).ToString("yyyyMM")); //助利宝分润
             // ProfitCheckHelper.Instance.Start();
         }
         public List<ProfitResult> StartProftForPosByMonth(int BrandId, int BankCardType, string Month, int PageNum = 1)

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

@@ -341,7 +341,10 @@ namespace MySystem
                 function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "分润监控异常");
             }
 
-            ProfitHelper.Instance.StatProfit();
+            HelpProfitHelper.Instance.StatProfitEveryDay(DateTime.Now.AddMonths(-1).ToString("yyyyMM")); //助利宝分润
+            ProfitCheckHelper.Instance.Start();
+
+            // ProfitHelper.Instance.StatProfit();
         }
         public List<ProfitResult> StartProftForPosByDate(int BrandId, int BankCardType, string Month, int PageNum = 1)
         {