29 lines
982 B
C#
29 lines
982 B
C#
using SJZY.Track.Domain.Dtos.TrackDetails;
|
|
|
|
namespace SJZY.Track.Domain.Aggregates.TrackDetailsAggregate;
|
|
|
|
public interface ITrackDetailsRepository
|
|
{
|
|
Task<List<TrackDetailsIndex>> GetListAsync(int[] orderIds, string trackCode);
|
|
|
|
Task<List<TrackDetailsIndex>> GetLatestListAsync(int[] eventOrderIds, List<string> trackCodes);
|
|
|
|
Task<bool> AnyAsync(int orderId, DateTime trackTime);
|
|
|
|
Task<bool> AnyAsync(int orderId, string originTrackData);
|
|
|
|
Task<bool> AnyByCodeAsync(int orderId, string trackCode);
|
|
|
|
Task UpdateAsync(TrackDetailsIndex index);
|
|
|
|
Task AddManyAsync(List<TrackDetailsIndex> index);
|
|
|
|
Task AddAsync(TrackDetailsIndex track);
|
|
|
|
Task<List<TrackDetailsIndex>> GetListAsync(int orderType, List<string> orderNos);
|
|
|
|
Task<(List<TrackDetailsIndex> list, long total)> GetListAsync(TrackDetailsQueryInput input);
|
|
Task<List<TrackDetailsIndex>> GetListAsync(int orderId);
|
|
|
|
Task DeleteTrackAsync(int[] orderIds, List<string> trackCodes);
|
|
} |