feat: 门店员工与排班管理上线

This commit is contained in:
2025-12-04 09:32:03 +08:00
parent 1a5209a8b1
commit 19422df0f1
31 changed files with 1265 additions and 7 deletions

View File

@@ -26,6 +26,16 @@ public interface IMerchantRepository
/// </summary>
Task<IReadOnlyList<MerchantStaff>> GetStaffAsync(long merchantId, long tenantId, CancellationToken cancellationToken = default);
/// <summary>
/// 获取指定门店的员工列表。
/// </summary>
Task<IReadOnlyList<MerchantStaff>> GetStaffByStoreAsync(long storeId, long tenantId, CancellationToken cancellationToken = default);
/// <summary>
/// 依据标识获取员工。
/// </summary>
Task<MerchantStaff?> FindStaffByIdAsync(long staffId, long tenantId, CancellationToken cancellationToken = default);
/// <summary>
/// 获取指定商户的合同列表。
/// </summary>
@@ -75,6 +85,11 @@ public interface IMerchantRepository
/// </summary>
Task DeleteMerchantAsync(long merchantId, long tenantId, CancellationToken cancellationToken = default);
/// <summary>
/// 删除员工。
/// </summary>
Task DeleteStaffAsync(long staffId, long tenantId, CancellationToken cancellationToken = default);
/// <summary>
/// 记录审核日志。
/// </summary>