From 167995a48e33394cf9ceb9bbca43eb70fe8cc328 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 12 Feb 2025 14:58:00 +0800 Subject: [PATCH] fix . --- .../Services/Implements/DeviceUploadLogService.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Src/Dlhis.ScheduledTask/DeviceUploadLog/Services/Implements/DeviceUploadLogService.cs b/Src/Dlhis.ScheduledTask/DeviceUploadLog/Services/Implements/DeviceUploadLogService.cs index 6f89128d..da1be9e3 100644 --- a/Src/Dlhis.ScheduledTask/DeviceUploadLog/Services/Implements/DeviceUploadLogService.cs +++ b/Src/Dlhis.ScheduledTask/DeviceUploadLog/Services/Implements/DeviceUploadLogService.cs @@ -122,12 +122,6 @@ public class DeviceUploadLogService : IDeviceUploadLogService /// public async Task ManuallyUploadAsync(List requestIds) { - var existsOther = await _dbContext.Queryable() - .Where(x => requestIds.Contains(x.Id) && !x.NeedUpload) - .AnyAsync(); - - existsOther.ThrowIfTrue("存在非考勤通行记录,无法上传"); - var requests = await _dbContext.Queryable() .LeftJoin((x, device) => x.DeviceUniqueNo == device.UniqueNo) .Where(x => requestIds.Contains(x.Id))