fix 记录上传任务创建增加判断
This commit is contained in:
@@ -20,7 +20,7 @@ public class CreateGetUploadRecordJob : BaseJob
|
||||
{
|
||||
var devices = await DbContext.Queryable<DeviceEntity>()
|
||||
.Where(x => x.Enable)
|
||||
.Where(x => x.Type == DeviceTypeEnumType.Attendance || x.Type == DeviceTypeEnumType.Door)
|
||||
.Where(x => x.Type == DeviceTypeEnumType.Attendance || (x.Type == DeviceTypeEnumType.Door && x.AsAttendance))
|
||||
.ToListAsync();
|
||||
|
||||
//过滤处理中的任务
|
||||
|
||||
Reference in New Issue
Block a user