This commit is contained in:
2024-08-07 21:16:20 +08:00
parent 1638b18ca0
commit 177497ec39

View File

@@ -11,7 +11,7 @@ namespace Dlhis.ScheduledTask.Jobs;
/// <summary>
/// 上传考勤记录
/// </summary>
[RecurringJob(nameof(SyncOriginCardInfoJob), "0 0/5 * * * ?", Name = "上传考勤记录")]
[RecurringJob(nameof(SyncOriginCardInfoJob), "0 0/3 * * * ?", 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, 3000);
.ToPageListAsync(1, 1000);
Logger.LogInformation("获取待上传考勤记录数:{count}", requests.Count);