using SJZY.Expand.ElasticSearch.Services; using SJZY.Track.Domain.Dtos.TrackDetails; namespace SJZY.Track.Domain.Aggregates.TrackDetailsAggregate; public interface ITrackDetailsRepository : IElasticsearchClientService { Task> GetListAsync(int[] orderIds, string trackCode, bool forUpsert = false); Task> GetLatestListAsync(int[] eventOrderIds, List trackCodes); Task> GetListAsync(int orderType, List orderNos); Task AnyAsync(int orderId, string originTrackDataHash); Task UpdateAsync(TrackDetailsIndex index); Task AddManyAsync(List index); Task AddAsync(TrackDetailsIndex track); Task> GetListAsync(int orderId); Task DeleteTrackAsync(int[] orderIds, List trackCodes); Task DeleteTrackByIdAsync(string id, string indexName); }