admin/src/Oms.Domain/SystemAggregate/Repositories/ICountryProvinceRepository.cs
zzh 748afbf45b
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
feat: 国家州省城市主数据与地址簿必填校验
支撑地址簿级联下拉与经营地图发件省归一;附 CN 种子迁移脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 12:32:06 +08:00

15 lines
492 B
C#

using Fake.Domain.Repositories;
using Oms.Domain.SystemAggregate.Entities;
namespace Oms.Domain.SystemAggregate.Repositories;
public interface ICountryProvinceRepository : IRepository<CountryProvince>
{
Task<List<CountryProvince>> ListByCountryIdAsync(int countryId, CancellationToken cancellationToken = default);
Task<CountryProvince?> FindByCountryAndChineseNameAsync(
int countryId,
string chineseName,
CancellationToken cancellationToken = default);
}