装船时间

optimize
wet 2 years ago
parent 5296212f07
commit 5a0338e52a

@ -984,7 +984,7 @@ namespace Myshipping.Application
bookingStatus.BookingId = item.BookingId; bookingStatus.BookingId = item.BookingId;
bookingStatus.StaCode = "sta_zhuangchuan"; bookingStatus.StaCode = "sta_zhuangchuan";
bookingStatus.StaName = dicdatalist.Where(x => x.Code == "sta_zhuangchuan").Select(x => x.Value).FirstOrDefault(); bookingStatus.StaName = dicdatalist.Where(x => x.Code == "sta_zhuangchuan").Select(x => x.Value).FirstOrDefault();
bookingStatus.StaTime = item.OpTime; bookingStatus.StaTime = item.detail.Max(x=>x.OPTime);
bookingStatus.StaCate = "book_sta_cate_billtrace"; bookingStatus.StaCate = "book_sta_cate_billtrace";
await _repBookingStatus.InsertAsync(bookingStatus); await _repBookingStatus.InsertAsync(bookingStatus);
} }

Loading…
Cancel
Save