using System.Collections.Generic; using System.Threading.Tasks; using Win_in.Sfs.Shared.Domain; namespace Win_in.Sfs.Shared.Application.Contracts; public interface ISfsGetByCodeAppService where TEntityDto : IHasCode { /// /// 根据编号获取实体DTO /// /// 编号 /// Task GetByCodeAsync(string code); /// /// 根据编号列表获取实体DTO列表 /// /// /// Task> GetByCodesAsync(IEnumerable codes); Task> GetByCodesWithPostAsync(IEnumerable codes); }