feat: 增强仓储CRUD与种子配置

This commit is contained in:
2025-12-02 09:46:44 +08:00
parent ffc4f0885f
commit 1a01454266
16 changed files with 587 additions and 56 deletions

View File

@@ -90,4 +90,14 @@ public interface IStoreRepository
/// 持久化变更。
/// </summary>
Task SaveChangesAsync(CancellationToken cancellationToken = default);
/// <summary>
/// 更新门店。
/// </summary>
Task UpdateStoreAsync(Store store, CancellationToken cancellationToken = default);
/// <summary>
/// 删除门店。
/// </summary>
Task DeleteStoreAsync(long storeId, long tenantId, CancellationToken cancellationToken = default);
}