From 5c4170b287c26b0ae0ea8fc35d977442be663db4 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 1 Apr 2024 22:43:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E5=8F=B0BC?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E7=BB=93=E6=9E=9C=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingSlot/BookingSlotService.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs index 4e092523..b93b4c35 100644 --- a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs +++ b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs @@ -1168,7 +1168,12 @@ namespace Myshipping.Application throw Oops.Oh($"获取舱位变更比对结果错误,比对内容不存在"); } - return JSON.Deserialize>(compareInfo.COMPARE_RLT); + if(!string.IsNullOrWhiteSpace(compareInfo.COMPARE_RLT)) + { + return JSON.Deserialize>(compareInfo.COMPARE_RLT); + } + + return new List(); } #endregion