From d203b50a6d8142088dccb124ebe77f8792957a37 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng Date: Fri, 1 Mar 2024 15:25:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E8=AE=A2=E8=88=B1=EF=BC=9ABo?= =?UTF-8?q?okingOrder/ChangeServiceItem=E6=8E=A5=E5=8F=A3bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingOrder/BookingOrderService.cs | 4 +++- .../Service/BookingOrder/Dto/BookingServiceItemDto.cs | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 9804a71e..a2e9bd1d 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -11518,7 +11518,9 @@ namespace Myshipping.Application })); } - return await GetServiceItemList(input.BookingId); + var list = await GetServiceItemList(input.BookingId) as List; + var result = list.Adapt>(); + return result; } /// /// 设置货物状态 diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BookingServiceItemDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/BookingServiceItemDto.cs index 6b112291..82786dac 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/BookingServiceItemDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/BookingServiceItemDto.cs @@ -20,6 +20,12 @@ namespace Myshipping.Application.Service.BookingOrder.Dto /// 状态名称 /// public string Value { get; set; } + + /// + /// 未确认 + /// + public bool UnConfirm { get; set; } + } public class BookingServiceItemList