refactor: 引入管理端 DbContext 禁用租户过滤

This commit is contained in:
2026-01-29 03:52:11 +00:00
parent f7e21db88a
commit 65c4c00b87
29 changed files with 85 additions and 38 deletions

View File

@@ -12,7 +12,7 @@ namespace TakeoutSaaS.Infrastructure.App.Repositories;
/// <remarks>
/// 初始化仓储。
/// </remarks>
public sealed class EfDeliveryRepository(TakeoutAppDbContext context) : IDeliveryRepository
public sealed class EfDeliveryRepository(TakeoutAdminDbContext context) : IDeliveryRepository
{
/// <inheritdoc />
public Task<DeliveryOrder?> FindByIdAsync(long deliveryOrderId, long tenantId, CancellationToken cancellationToken = default)