feat: 增强仓储CRUD与种子配置
This commit is contained in:
@@ -39,4 +39,14 @@ public interface IPaymentRepository
|
||||
/// 持久化变更。
|
||||
/// </summary>
|
||||
Task SaveChangesAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 更新支付记录。
|
||||
/// </summary>
|
||||
Task UpdatePaymentAsync(PaymentRecord payment, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 删除支付记录及关联退款。
|
||||
/// </summary>
|
||||
Task DeletePaymentAsync(long paymentId, long tenantId, CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user