admin/src/Oms.Domain/SystemAggregate/Repositories/ICountryRepository.cs
zzh 8f64bbf02d
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
feat: 国家地区支持增删改与导入,列表返回创建和更新时间
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 15:54:22 +08:00

15 lines
547 B
C#

using Fake.Domain.Repositories;
using Oms.Domain.SystemAggregate.Entities;
namespace Oms.Domain.SystemAggregate.Repositories;
public interface ICountryRepository : IRepository<Country>
{
Task<Country?> GetByCountryCodeAsync(string countryCode, CancellationToken cancellationToken = default);
/// <summary>
/// 按二字码查询,包含已软删除记录,用于恢复同码数据。
/// </summary>
Task<Country?> GetByCountryCodeIncludingDeletedAsync(string countryCode, CancellationToken cancellationToken = default);
}