connect:轨迹预警页面提供订单类型、子系统id

This commit is contained in:
xiaolipro 2024-10-09 17:18:09 +08:00
parent 16541d998d
commit 4207749f56
2 changed files with 14 additions and 1 deletions

View File

@ -39,7 +39,8 @@ public class OrderWarningService : ApplicationService
x.Id,
x.LatestTrackContent,
x.LatestTrackTime,
x.LatestTrackPlace
x.LatestTrackPlace,
x.OrderType
});
var list = new List<GetOrderWarningPageOutput>();
@ -48,6 +49,7 @@ public class OrderWarningService : ApplicationService
{
var item = new GetOrderWarningPageOutput
{
SubSystemId = x.SubSystemId,
SubSystemName = x.SubSystemName,
OrderNo = x.OrderNo,
Rule = x.Rule,
@ -64,6 +66,7 @@ public class OrderWarningService : ApplicationService
item.LatestTrackTime = order.LatestTrackTime;
item.LatestTrackPlace = order.LatestTrackPlace;
item.LatestTrackContent = order.LatestTrackContent;
item.OrderType = order.OrderType;
list.Add(item);
});

View File

@ -4,6 +4,11 @@ namespace SJZY.Track.Domain.Dtos.Forewarning;
public class GetOrderWarningPageOutput
{
/// <summary>
/// 子系统id
/// </summary>
public int SubSystemId { get; set; }
/// <summary>
/// 子系统name
/// </summary>
@ -65,4 +70,9 @@ public class GetOrderWarningPageOutput
public DateTime CreateTime { get; set; }
public string OrderNo { get; set; }
/// <summary>
/// 订单类型(主数据枚举TrackOrderType)
/// </summary>
public int OrderType { get; set; }
}