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:
commit
9eada6b6a0
@ -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; }
|
||||||
}
|
}
|
||||||
@ -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; }
|
||||||
}
|
}
|
||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user