Explorar el Código

机具绑定后9个月前,记入存量业绩

lcl hace 1 año
padre
commit
b14dca89fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      AppStart/Helper/Stat2Service.cs

+ 1 - 1
AppStart/Helper/Stat2Service.cs

@@ -84,7 +84,7 @@ namespace MySystem
                                 }
                                 Users user = db.Users.FirstOrDefault(m => m.Id == UserId) ?? new Users();
                                 string ParentNav = user.ParentNav; //selfDr["ParentNav"].ToString();
-                                if (pos.BindingTime < DateTime.Parse("2023-07-01 00:00:00"))
+                                if (pos.BindingTime < DateTime.Now.AddMonths(-9))
                                 {
                                     StatBefore(db, selfDr, UserId, ParentNav);
                                 }