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);