fix 任务生成描述
This commit is contained in:
@@ -55,7 +55,7 @@ public class AutoConfirmAppointmentJob : BaseJob
|
||||
Type = DeviceTaskEnumType.Add,
|
||||
Priority = 100,
|
||||
TenantId = x.TenantId,
|
||||
Source = DeviceTaskSourceEnumType.Appointment,
|
||||
Source = "定时任务判断触发车间下发任务",
|
||||
Version = 0
|
||||
}).ToList());
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public class AutoRemoveAppointmentJob : BaseJob
|
||||
Type = DeviceTaskEnumType.Delete,
|
||||
Priority = 100,
|
||||
TenantId = x.TenantId,
|
||||
Source = DeviceTaskSourceEnumType.Appointment,
|
||||
Source = "定时任务判断触发移除",
|
||||
Version = 0
|
||||
}).ToList());
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public class CreateGetUploadRecordJob : BaseJob
|
||||
Type = DeviceTaskEnumType.UploadRecord,
|
||||
CancellationId = 0,
|
||||
Priority = 50,
|
||||
Source = DeviceTaskSourceEnumType.Schedule
|
||||
Source = "定时任务创建设备获取通行记录任务"
|
||||
}).ToList();
|
||||
|
||||
await DbContext.InsertAsync(tasks);
|
||||
|
||||
@@ -40,7 +40,7 @@ public class CreateSyncServerDateTimeJob : BaseJob
|
||||
Type = DeviceTaskEnumType.SyncDateTime,
|
||||
DeviceType = x.Type,
|
||||
Priority = 49,
|
||||
Source = DeviceTaskSourceEnumType.Schedule
|
||||
Source = "定时任务创建设备同步时间任务"
|
||||
}).ToList();
|
||||
|
||||
await DbContext.InsertAsync(tasks);
|
||||
|
||||
Reference in New Issue
Block a user