Bladeren bron

代码提交。

tangdi 2 jaren geleden
bovenliggende
commit
3f4cb4fa5c

+ 1 - 1
MicroServices/Business/Business.Application/ResourceExamineManagement/ResourceExamineAppService.cs

@@ -1305,7 +1305,7 @@ namespace Business.ResourceExamineManagement
         public async Task<string> PrAutoApprove(string companyid)
         {
             //直接按间隔多少天一次来处理数据,定时任务按周四来考虑。
-            DateTime toTime = new DateTime(2023, 7, 6);
+            DateTime toTime = DateTime.Now;
             DateTime starttime = toTime.AddDays(1);
             DateTime endtime = toTime.AddDays(8);
             List<srm_pr_main> prlist = _mysql_srm_pr_main.GetListAsync(s => s.company_id.ToString() == companyid && s.IsRequireGoods == 0 && s.pr_sarrive_date >= starttime &&