Explorar el Código

调整匹配时间

DuGuYang hace 2 años
padre
commit
cb1e1a6e8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Areas/Admin/Controllers/MainServer/LeadersController.cs

+ 1 - 1
Areas/Admin/Controllers/MainServer/LeadersController.cs

@@ -724,7 +724,7 @@ namespace MySystem.Areas.Admin.Controllers
         [HttpPost]
         public string QuickExportExcelDo(string UserIdMakerCode, string LeaderLevelSelect, string LeaderStatusSelect, string LastBuyDateData, string ExpiredDateData, string CreateDateData)
         {
-            var lastMonth = DateTime.Now.AddMonths(-1).ToString("yyyy-MM");
+            var lastMonth = DateTime.Now.ToString("yyyy-MM");
             string condition = " and a.Status>-1 and d.StatMonth='" + lastMonth + "'";
             //创客编号
             if (!string.IsNullOrEmpty(UserIdMakerCode))