From 1c0a9cab5de19412beef613cad806b8ea5a1f27b Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Wed, 3 Jul 2024 14:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9MSK=20SPOT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingOrder/BookingMSKSPOTAPIService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingMSKSPOTAPIService.cs b/Myshipping.Application/Service/BookingOrder/BookingMSKSPOTAPIService.cs index 7c81a681..2eefe900 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingMSKSPOTAPIService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingMSKSPOTAPIService.cs @@ -413,7 +413,7 @@ namespace Myshipping.Application.Service.BookingOrder //计算预计天数 if (showDto.ETD.HasValue && showDto.ETD.HasValue) { - TimeSpan ts = showDto.ETD.Value.Subtract(showDto.ETA.Value); + TimeSpan ts = showDto.ETA.Value.Subtract(showDto.ETD.Value); var timeDiff = ts.TotalHours; showDto.days = (int)Math.Ceiling(timeDiff / 24.0);