fix 任务来源
This commit is contained in:
@@ -39,6 +39,7 @@ public class CreateGetUploadRecordJob : BaseJob
|
||||
Type = DeviceTaskEnumType.UploadRecord,
|
||||
CancellationId = 0,
|
||||
Priority = 50,
|
||||
Source = DeviceTaskSourceEnumType.Schedule
|
||||
}).ToList();
|
||||
|
||||
await DbContext.InsertAsync(tasks);
|
||||
|
||||
@@ -40,6 +40,7 @@ public class CreateSyncServerDateTimeJob : BaseJob
|
||||
Type = DeviceTaskEnumType.SyncDateTime,
|
||||
DeviceType = x.Type,
|
||||
Priority = 49,
|
||||
Source = DeviceTaskSourceEnumType.Schedule
|
||||
}).ToList();
|
||||
|
||||
await DbContext.InsertAsync(tasks);
|
||||
|
||||
Reference in New Issue
Block a user