From 06f4ba2170f9b37b161178be1e357eec3ab92b49 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 7 Aug 2024 20:52:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=87=8F=E5=B0=91=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.ScheduledTask/Jobs/SyncOriginCardInfoJob.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.ScheduledTask/Jobs/SyncOriginCardInfoJob.cs b/Src/Dlhis.ScheduledTask/Jobs/SyncOriginCardInfoJob.cs index 8b342cd4..13b638f9 100644 --- a/Src/Dlhis.ScheduledTask/Jobs/SyncOriginCardInfoJob.cs +++ b/Src/Dlhis.ScheduledTask/Jobs/SyncOriginCardInfoJob.cs @@ -11,7 +11,7 @@ namespace Dlhis.ScheduledTask.Jobs; /// /// 上传考勤记录 /// -[RecurringJob(nameof(SyncOriginCardInfoJob), "0 0/15 * * * ?", Name = "上传考勤记录")] +[RecurringJob(nameof(SyncOriginCardInfoJob), "0 0/5 * * * ?", Name = "上传考勤记录")] public class SyncOriginCardInfoJob : BaseJob { private readonly IJinkoJIPService _jinkoJIPService; @@ -45,7 +45,7 @@ public class SyncOriginCardInfoJob : BaseJob ZNOTE = device.DeployPlace, ZWORKCODE = x.UserUniqueNo }) - .ToPageListAsync(1, 5000); + .ToPageListAsync(1, 500); Logger.LogInformation("获取待上传考勤记录数:{count}", requests.Count);