From 4207749f56c00b8c7b5920c8851bf1b6c32aff96 Mon Sep 17 00:00:00 2001 From: xiaolipro <2357729423@qq.com> Date: Wed, 9 Oct 2024 17:18:09 +0800 Subject: [PATCH] =?UTF-8?q?connect=EF=BC=9A=E8=BD=A8=E8=BF=B9=E9=A2=84?= =?UTF-8?q?=E8=AD=A6=E9=A1=B5=E9=9D=A2=E6=8F=90=E4=BE=9B=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E3=80=81=E5=AD=90=E7=B3=BB=E7=BB=9Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/TrackOrders/OrderWarningService.cs | 5 ++++- .../Dtos/Forewarning/GetOrderWarningPageOutput.cs | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) 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; } }