using SJZY.Track.Domain.Dtos.TrackDetails; namespace SJZY.Track.Domain.Aggregates.TrackDetailsAggregate; public interface ITrackDetailsRepository { Task GetFirstOrDefaultAsync(int orderId, string trackCode); Task UpsertAsync(TrackDetailsIndex index); Task> GetListAsync(int orderType, List orderNos); Task<(List list, long total)> GetListAsync(TrackDetailsQueryInput input); Task> GetListAsync(int orderId); /// /// 删除轨迹 /// /// /// /// Task DeleteTrackAsync(int orderId, List trackCodes); Task?> GetListAsync(List orderIds); /// /// 获取最近一条发生的轨迹 /// /// /// Task GetLatestAsync(int orderId); }