Files
jinko.yikatong/Src/Dlhis.ScheduledTask/SyncSapInfo/Job/SyncOriginCardInfoJob.cs
2024-03-09 12:13:11 +08:00

27 lines
661 B
C#

using Dlhis.ScheduledTask.SyncSapInfo.Services;
namespace Dlhis.ScheduledTask.SyncSapInfo.Job;
public class SyncOriginCardInfoJob
{
private readonly IJinkoJIPService _jinkoJIPService;
public SyncOriginCardInfoJob(IJinkoJIPService jinkoJIPService)
{
_jinkoJIPService = jinkoJIPService;
}
public async Task RunAsync()
{
await _jinkoJIPService.UploadAttendancesAsync(new List<UploadAttendanceRequest>()
{
new UploadAttendanceRequest()
{
RaiseTime = DateTime.Now,
ZWORKCODE = "000001",
ZNOTE = "正门1"
}
});
}
}