Merge pull request '拉取 推送 列表返回子系统id' (#61) from S02-轨迹中台 into dev

Reviewed-on: http://192.168.80.50:3000/Dotnet/SJZY.Track.Api/pulls/61
This commit is contained in:
liuwenxiang 2024-03-12 10:49:19 +08:00
commit 9eada6b6a0
4 changed files with 12 additions and 0 deletions

View File

@ -18,4 +18,9 @@ public class GetTrackPullConfigPageOutputVO
/// 子系统名称 /// 子系统名称
/// </summary> /// </summary>
public string SubSystem { get; set; } public string SubSystem { get; set; }
/// <summary>
/// 子系统id
/// </summary>
public int SubSystemId { get; set; }
} }

View File

@ -18,4 +18,9 @@ public class GetTrackPushConfigPageOutputVO
/// 子系统名称 /// 子系统名称
/// </summary> /// </summary>
public string SubSystem { get; set; } public string SubSystem { get; set; }
/// <summary>
/// 子系统id
/// </summary>
public int SubSystemId { get; set; }
} }

View File

@ -25,6 +25,7 @@ public class TrackPullConfigRepository : BasicRepository<TrackPullConfigEntity>,
.Select((trackPull, system, service) => new GetTrackPullConfigPageOutputVO .Select((trackPull, system, service) => new GetTrackPullConfigPageOutputVO
{ {
Id = trackPull.Id, Id = trackPull.Id,
SubSystemId = system.Id,
SubSystem = system.CnName, SubSystem = system.CnName,
ServiceProvider = service.Name, ServiceProvider = service.Name,
CreateTime = trackPull.CreateTime CreateTime = trackPull.CreateTime

View File

@ -28,6 +28,7 @@ public class TrackPushConfigRepository : BasicRepository<TrackPushConfigEntity>,
.Select((trackPush, system, externalSubject) => new GetTrackPushConfigPageOutputVO .Select((trackPush, system, externalSubject) => new GetTrackPushConfigPageOutputVO
{ {
Id = trackPush.Id, Id = trackPush.Id,
SubSystemId = system.Id,
SubSystem = system.CnName, SubSystem = system.CnName,
CustomName = externalSubject.Abbreviation, CustomName = externalSubject.Abbreviation,
CreateTime = trackPush.CreateTime CreateTime = trackPush.CreateTime