修改MSK SPOT

master
jianghaiqing 5 months ago
parent c335f974dd
commit 1c0a9cab5d

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

Loading…
Cancel
Save