修改马士基API订舱的批量复制和批量发送功能

master
jianghaiqing 7 months ago
parent 1e404692da
commit e1c326da0a

@ -1612,7 +1612,7 @@ namespace Myshipping.Application.Service.BookingOrder
{ {
List<string> msgList = new List<string>(); List<string> msgList = new List<string>();
if (entity.IS_BOOKING_PART_OWN_PRICE || (model.bookingDto != null && model.bookingDto.isBookingPartOwnPrice)) if (entity.IS_SHIPPER_OWNED || (model.bookingDto != null && model.bookingDto.isShipperOwned))
{ {
msgList.Add("含有指定托运人自己的集装箱"); msgList.Add("含有指定托运人自己的集装箱");
} }
@ -1624,7 +1624,7 @@ namespace Myshipping.Application.Service.BookingOrder
if (entity.IS_REEFER || (model.bookingDto != null && model.bookingDto.isReefer)) if (entity.IS_REEFER || (model.bookingDto != null && model.bookingDto.isReefer))
{ {
msgList.Add("含有是冷冻处理"); msgList.Add("含有是冷冻处理");
} }
if (model.bookingDto != null && model.bookingDto.cargoType != entity.CARGO_TYPE) if (model.bookingDto != null && model.bookingDto.cargoType != entity.CARGO_TYPE)
@ -1659,7 +1659,7 @@ namespace Myshipping.Application.Service.BookingOrder
{ {
List<string> msgList = new List<string>(); List<string> msgList = new List<string>();
if (list.Any(a => a.IS_BOOKING_PART_OWN_PRICE)) if (list.Any(a => a.IS_SHIPPER_OWNED))
{ {
msgList.Add("含有指定托运人自己的集装箱"); msgList.Add("含有指定托运人自己的集装箱");
} }
@ -1671,7 +1671,7 @@ namespace Myshipping.Application.Service.BookingOrder
if (list.Any(a => a.IS_REEFER)) if (list.Any(a => a.IS_REEFER))
{ {
msgList.Add("含有指定进口退货集装箱或者其他三角集运"); msgList.Add("含有是冷冻处理");
} }
if (msgList.Count > 0) if (msgList.Count > 0)

Loading…
Cancel
Save