refactor: 移除平台公告与跨租户目标

This commit is contained in:
root
2026-01-29 13:15:53 +00:00
parent 0d9402d204
commit 77836e270f
16 changed files with 110 additions and 58 deletions

View File

@@ -146,7 +146,7 @@ public sealed class AnnouncementWorkflowTests
AnnouncementId = announcement.Id,
Title = "更新标题",
Content = "更新内容",
TargetType = "ALL_TENANTS",
TargetType = "TENANT_ALL",
RowVersion = announcement.RowVersion
};
@@ -185,7 +185,7 @@ public sealed class AnnouncementWorkflowTests
AnnouncementId = announcement.Id,
Title = "并发更新",
Content = "内容",
TargetType = "ALL_TENANTS",
TargetType = "TENANT_ALL",
RowVersion = new byte[] { 1 }
};
@@ -210,7 +210,7 @@ public sealed class AnnouncementWorkflowTests
EffectiveTo = DateTime.UtcNow.AddMinutes(30),
PublisherScope = PublisherScope.Tenant,
Status = AnnouncementStatus.Draft,
TargetType = "ALL_TENANTS",
TargetType = "TENANT_ALL",
TargetParameters = null,
RowVersion = new byte[] { 1 }
};