From b81432c0aff21a598c44f9e5c8b171b188a8b540 Mon Sep 17 00:00:00 2001 From: zzh <1368735060@qq.com> Date: Sat, 5 Sep 2026 16:14:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9F=A5=E4=BB=B7=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E9=94=80=E5=94=AE=E4=BA=A7=E5=93=81=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OrderPriceCheck 输出增加 ProductDescription,供前端报价卡展示线路简要说明。 Co-authored-by: Cursor --- src/Oms.Application/Dtos/Orders/OrderPriceCheckOutput.cs | 5 +++++ .../Services/Orders/OrderService.ParcelQuote.cs | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/Oms.Application/Dtos/Orders/OrderPriceCheckOutput.cs b/src/Oms.Application/Dtos/Orders/OrderPriceCheckOutput.cs index dfad13e..3db4c4d 100644 --- a/src/Oms.Application/Dtos/Orders/OrderPriceCheckOutput.cs +++ b/src/Oms.Application/Dtos/Orders/OrderPriceCheckOutput.cs @@ -57,6 +57,11 @@ public class OrderPriceCheckOutput /// public string? ProductGroupName { get; set; } + /// + /// 产品说明(线路简要说明,对客展示)。 + /// + public string? ProductDescription { get; set; } + /// /// 体积重量。 /// diff --git a/src/Oms.Application/Services/Orders/OrderService.ParcelQuote.cs b/src/Oms.Application/Services/Orders/OrderService.ParcelQuote.cs index 1c0de66..a2b290a 100644 --- a/src/Oms.Application/Services/Orders/OrderService.ParcelQuote.cs +++ b/src/Oms.Application/Services/Orders/OrderService.ParcelQuote.cs @@ -276,6 +276,9 @@ public partial class OrderService TradeTerms = string.IsNullOrWhiteSpace(product.TradeTerms) ? null : product.TradeTerms.Trim().ToUpperInvariant(), ProductGroup = groupCode, ProductGroupName = groupName, + ProductDescription = string.IsNullOrWhiteSpace(product.ProductDescription) + ? null + : product.ProductDescription.Trim(), VolumetricWeight = quote.VolumetricWeight, ChargeableWeight = quote.ChargeableWeight, CostFormula = summary.CostFormula,