fix 任务生成描述

This commit is contained in:
2024-12-18 11:53:32 +08:00
parent 7cfd0b7365
commit df299bb019
27 changed files with 151 additions and 218 deletions

View File

@@ -55,7 +55,7 @@ public class AutoConfirmAppointmentJob : BaseJob
Type = DeviceTaskEnumType.Add,
Priority = 100,
TenantId = x.TenantId,
Source = DeviceTaskSourceEnumType.Appointment,
Source = "定时任务判断触发车间下发任务",
Version = 0
}).ToList());

View File

@@ -57,7 +57,7 @@ public class AutoRemoveAppointmentJob : BaseJob
Type = DeviceTaskEnumType.Delete,
Priority = 100,
TenantId = x.TenantId,
Source = DeviceTaskSourceEnumType.Appointment,
Source = "定时任务判断触发移除",
Version = 0
}).ToList());

View File

@@ -39,7 +39,7 @@ public class CreateGetUploadRecordJob : BaseJob
Type = DeviceTaskEnumType.UploadRecord,
CancellationId = 0,
Priority = 50,
Source = DeviceTaskSourceEnumType.Schedule
Source = "定时任务创建设备获取通行记录任务"
}).ToList();
await DbContext.InsertAsync(tasks);

View File

@@ -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);