feat: 桌码管理支持区域、批量生成与二维码导出
This commit is contained in:
@@ -56,11 +56,21 @@ public interface IStoreRepository
|
||||
/// </summary>
|
||||
Task<IReadOnlyList<StoreTableArea>> GetTableAreasAsync(long storeId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 依据标识获取桌台区域。
|
||||
/// </summary>
|
||||
Task<StoreTableArea?> FindTableAreaByIdAsync(long areaId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 获取门店桌台列表。
|
||||
/// </summary>
|
||||
Task<IReadOnlyList<StoreTable>> GetTablesAsync(long storeId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 依据标识获取桌台。
|
||||
/// </summary>
|
||||
Task<StoreTable?> FindTableByIdAsync(long tableId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 获取门店员工排班。
|
||||
/// </summary>
|
||||
@@ -106,11 +116,21 @@ public interface IStoreRepository
|
||||
/// </summary>
|
||||
Task AddTableAreasAsync(IEnumerable<StoreTableArea> areas, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 更新桌台区域。
|
||||
/// </summary>
|
||||
Task UpdateTableAreaAsync(StoreTableArea area, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 新增桌台。
|
||||
/// </summary>
|
||||
Task AddTablesAsync(IEnumerable<StoreTable> tables, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 更新桌台。
|
||||
/// </summary>
|
||||
Task UpdateTableAsync(StoreTable table, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 新增排班。
|
||||
/// </summary>
|
||||
@@ -136,6 +156,16 @@ public interface IStoreRepository
|
||||
/// </summary>
|
||||
Task DeleteHolidayAsync(long holidayId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 删除桌台区域。
|
||||
/// </summary>
|
||||
Task DeleteTableAreaAsync(long areaId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 删除桌台。
|
||||
/// </summary>
|
||||
Task DeleteTableAsync(long tableId, long tenantId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 更新门店。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user