From 04946a395d6db9037921f16a7fc783a591b36082 Mon Sep 17 00:00:00 2001 From: xiaolipro <2357729423@qq.com> Date: Thu, 19 Sep 2024 14:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=89=8D=E7=AB=AF=EF=BC=8C?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=9C=8D=E5=8A=A1=E5=95=86id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dtos/TrackPull/GetTrackPullConfigDetailOutputVO.cs | 4 ++-- .../Repositories/TrackPullConfigRepository.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SJZY.Track.Domain/Dtos/TrackPull/GetTrackPullConfigDetailOutputVO.cs b/src/SJZY.Track.Domain/Dtos/TrackPull/GetTrackPullConfigDetailOutputVO.cs index c83dc163..cccf0c49 100644 --- a/src/SJZY.Track.Domain/Dtos/TrackPull/GetTrackPullConfigDetailOutputVO.cs +++ b/src/SJZY.Track.Domain/Dtos/TrackPull/GetTrackPullConfigDetailOutputVO.cs @@ -20,9 +20,9 @@ public class GetTrackPullConfigDetailOutputVO public int PullInterval { get; set; } /// - /// 服务商 + /// 服务商id /// - public string ServiceProvider { get; set; } + public int ServiceProviderId { get; set; } /// /// 服务商code diff --git a/src/SJZY.Track.Repository/Repositories/TrackPullConfigRepository.cs b/src/SJZY.Track.Repository/Repositories/TrackPullConfigRepository.cs index ab759279..49e4d489 100644 --- a/src/SJZY.Track.Repository/Repositories/TrackPullConfigRepository.cs +++ b/src/SJZY.Track.Repository/Repositories/TrackPullConfigRepository.cs @@ -85,7 +85,7 @@ public class TrackPullConfigRepository : BasicRepository, Id = trackPull.Id, SubSystem = system.CnName, SubSystemId = system.Id, - ServiceProvider = service.Name, + ServiceProviderId = service.Id, ServiceProviderCode = service.Code, }, true) .FirstAsync();