diff --git a/src/SJZY.Track.Application/Services/TrackOrders/OrderWarningService.cs b/src/SJZY.Track.Application/Services/TrackOrders/OrderWarningService.cs index abca501b..92219f8b 100644 --- a/src/SJZY.Track.Application/Services/TrackOrders/OrderWarningService.cs +++ b/src/SJZY.Track.Application/Services/TrackOrders/OrderWarningService.cs @@ -39,7 +39,8 @@ public class OrderWarningService : ApplicationService x.Id, x.LatestTrackContent, x.LatestTrackTime, - x.LatestTrackPlace + x.LatestTrackPlace, + x.OrderType }); var list = new List(); @@ -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); }); diff --git a/src/SJZY.Track.Domain/Dtos/Forewarning/GetOrderWarningPageOutput.cs b/src/SJZY.Track.Domain/Dtos/Forewarning/GetOrderWarningPageOutput.cs index 9528a056..ec260c30 100644 --- a/src/SJZY.Track.Domain/Dtos/Forewarning/GetOrderWarningPageOutput.cs +++ b/src/SJZY.Track.Domain/Dtos/Forewarning/GetOrderWarningPageOutput.cs @@ -4,6 +4,11 @@ namespace SJZY.Track.Domain.Dtos.Forewarning; public class GetOrderWarningPageOutput { + /// + /// 子系统id + /// + public int SubSystemId { get; set; } + /// /// 子系统name /// @@ -65,4 +70,9 @@ public class GetOrderWarningPageOutput public DateTime CreateTime { get; set; } public string OrderNo { get; set; } + + /// + /// 订单类型(主数据枚举TrackOrderType) + /// + public int OrderType { get; set; } }