fix 可获取记录设备保存时候自动产生初始日志
This commit is contained in:
@@ -25,8 +25,7 @@ public class CreateGetUploadRecordJob
|
||||
{
|
||||
var devices = await _dbContext.Queryable<DeviceEntity>()
|
||||
.Where(x => x.Enable)
|
||||
.Where(x => x.Type == DeviceTypeEnumType.Attendance || (x.Type == DeviceTypeEnumType.Door && x.AsAttendance)
|
||||
|| x.Type == DeviceTypeEnumType.Door)
|
||||
.Where(x => x.Type == DeviceTypeEnumType.Attendance || x.Type == DeviceTypeEnumType.Door)
|
||||
.ToListAsync();
|
||||
|
||||
//过滤处理中的任务
|
||||
|
||||
Reference in New Issue
Block a user