修改重要提醒

master
jianghaiqing 6 months ago
parent 75b7a7b73c
commit 5b952126a0

@ -3104,7 +3104,17 @@ namespace Myshipping.Application
} }
} }
var slotInfo = bookingSlotAllocList.FirstOrDefault().Slot; BookingSlotBase slotInfo = null;
if(bookingSlotAllocList.Count > 0)
{
slotInfo = bookingSlotAllocList.FirstOrDefault().Slot;
}
else
{
slotInfo = _repBase.AsQueryable().Filter(null, true).First(t => t.Id == slotId);
}
if (slotInfo != null) if (slotInfo != null)
{ {

Loading…
Cancel
Save