diff --git a/src/SJZY.Track.Application.Contract/Services/ITrackPushConfigService.cs b/src/SJZY.Track.Application.Contract/Services/ITrackPushConfigService.cs index e191f6bb..f6633539 100644 --- a/src/SJZY.Track.Application.Contract/Services/ITrackPushConfigService.cs +++ b/src/SJZY.Track.Application.Contract/Services/ITrackPushConfigService.cs @@ -15,6 +15,6 @@ namespace SJZY.Track.Application.Contract.Services /// /// /// - Task QueryTrackPullMappingsAsync(QueryTrackPullMappingsInput input); + Task>> QueryTrackPullMappingsAsync(QueryTrackPullMappingsInput input); } } diff --git a/src/SJZY.Track.Application.Contract/Services/ITrackService.cs b/src/SJZY.Track.Application.Contract/Services/ITrackService.cs index 904f834d..a586f69d 100644 --- a/src/SJZY.Track.Application.Contract/Services/ITrackService.cs +++ b/src/SJZY.Track.Application.Contract/Services/ITrackService.cs @@ -31,5 +31,5 @@ public interface ITrackService : IRemoteService /// /// /// - Task QueryAsync(GetTrackInput input); + Task>> QueryAsync(GetTrackInput input); } \ No newline at end of file diff --git a/src/SJZY.Track.Application/Services/ProvideServices/TrackPushConfigService.cs b/src/SJZY.Track.Application/Services/ProvideServices/TrackPushConfigService.cs index 04a8ea53..0be9fa0d 100644 --- a/src/SJZY.Track.Application/Services/ProvideServices/TrackPushConfigService.cs +++ b/src/SJZY.Track.Application/Services/ProvideServices/TrackPushConfigService.cs @@ -33,13 +33,13 @@ namespace SJZY.Track.Application.Services.ProvideServices /// /// [HttpPost("Track/QueryTrackPullMappings")] - public async Task QueryTrackPullMappingsAsync(QueryTrackPullMappingsInput input) + public async Task>> QueryTrackPullMappingsAsync(QueryTrackPullMappingsInput input) { var vo = ObjectMapper.Map(input); var result = await _trackPushConfigRepository.QueryTrackPullMappingsAsync(vo); var output = ObjectMapper.Map, List>(result); - return new UnifyResultDto(true, output, "操作成功"); + return new UnifyResultDto>(true, output, "操作成功"); } } } diff --git a/src/SJZY.Track.Application/Services/ProvideServices/TrackService.Query.cs b/src/SJZY.Track.Application/Services/ProvideServices/TrackService.Query.cs index f316d794..f2dee9a6 100644 --- a/src/SJZY.Track.Application/Services/ProvideServices/TrackService.Query.cs +++ b/src/SJZY.Track.Application/Services/ProvideServices/TrackService.Query.cs @@ -18,7 +18,7 @@ public partial class TrackService /// /// [HttpPost("Track/Query")] - public async Task QueryAsync(GetTrackInput input) + public async Task>> QueryAsync(GetTrackInput input) { if (input.OrderNos.Count > 500) { @@ -56,7 +56,7 @@ public partial class TrackService await TrackDetailSort(res, input); - return new UnifyResultDto(true, res, "操作成功"); + return new UnifyResultDto>(true, res, "操作成功"); } private async Task TrackDetailSort(List list, GetTrackInput input)