fix 修复已知问题

This commit is contained in:
2025-06-11 17:03:07 +08:00
parent 9b93eef87d
commit 74667f7d39
11 changed files with 62 additions and 135 deletions

View File

@@ -57,7 +57,7 @@ public class AutoRemoveAppointmentJob : BaseJob
Type = DeviceTaskEnumType.Delete,
Priority = 100,
TenantId = x.TenantId,
Source = "定时任务判断触发移除",
Source = "访客时间到期自动移除",
Version = 0
}).ToList());
@@ -76,6 +76,11 @@ public class AutoRemoveAppointmentJob : BaseJob
}
/// <summary>
/// 获取有效的区域编码,需要根据申请时间和当前时间判断
/// </summary>
/// <param name="detail"></param>
/// <returns></returns>
private static IEnumerable<string> GetValidAreaCodes(VisitorAppointmentDetailEntity detail)
{
var now = DateTime.Now;