fix 任务来源

This commit is contained in:
2024-08-03 11:11:06 +08:00
parent 32987e45cb
commit 02acb878dc
15 changed files with 59 additions and 20 deletions

View File

@@ -39,6 +39,7 @@ public class CreateGetUploadRecordJob : BaseJob
Type = DeviceTaskEnumType.UploadRecord,
CancellationId = 0,
Priority = 50,
Source = DeviceTaskSourceEnumType.Schedule
}).ToList();
await DbContext.InsertAsync(tasks);

View File

@@ -40,6 +40,7 @@ public class CreateSyncServerDateTimeJob : BaseJob
Type = DeviceTaskEnumType.SyncDateTime,
DeviceType = x.Type,
Priority = 49,
Source = DeviceTaskSourceEnumType.Schedule
}).ToList();
await DbContext.InsertAsync(tasks);