From d3060adbd87aa3ddf651bb5450ffcbd8e9f576b3 Mon Sep 17 00:00:00 2001
From: xiaolipro <2357729423@qq.com>
Date: Tue, 13 Aug 2024 10:17:03 +0800
Subject: [PATCH] =?UTF-8?q?opt=EF=BC=9Aremote=20service=20assign=20dto?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Services/ITrackPushConfigService.cs | 2 +-
src/SJZY.Track.Application.Contract/Services/ITrackService.cs | 2 +-
.../Services/ProvideServices/TrackPushConfigService.cs | 4 ++--
.../Services/ProvideServices/TrackService.Query.cs | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
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)