fix 修改doors数量
This commit is contained in:
@@ -31,7 +31,7 @@ public class CreateGetAttendanceJob
|
||||
var b = await _dbContext.Queryable<DeviceTaskEntity>()
|
||||
.Where(x => ds.Contains(x.DeviceUniqueNo))
|
||||
.Where(x => x.Type == DeviceTaskEnumType.UploadRecord)
|
||||
.Where(x => x.Status == DeviceTaskStatusEnumType.Wait)
|
||||
.Where(x => x.Status == DeviceTaskStatusEnumType.Process)
|
||||
.AnyAsync();
|
||||
if (b)
|
||||
{
|
||||
|
||||
@@ -194,7 +194,7 @@ public class AssignmentService : IAssignmentService
|
||||
End = DateOnly.FromDateTime(DateTime.Now.AddYears(20)),
|
||||
},
|
||||
TimePeriods = new List<int> { 1 },
|
||||
Doors = new List<int> { 1, 2, 3 },
|
||||
Doors = new List<int> { 1 },
|
||||
Schedule = 1
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user