diff --git a/Myshipping.Application/Event/BillTraceSubscriber.cs b/Myshipping.Application/Event/BillTraceSubscriber.cs index cae27b7c..28f69664 100644 --- a/Myshipping.Application/Event/BillTraceSubscriber.cs +++ b/Myshipping.Application/Event/BillTraceSubscriber.cs @@ -117,7 +117,7 @@ namespace Myshipping.Application.Event YardCode = order.YARDID == "" ? null : order.YARDID, CARRIER = order.CARRIER == "" ? null : order.CARRIER, CARRIERID = order.CARRIERID == "" ? null : order.CARRIERID, - isBook = false, + isBook = order.IsBookingYZ is "2" or "3", AlertEmail = string.Join(";", emailList) }); diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BillTraceDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/BillTraceDto.cs index 9d87da93..b4f71936 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/BillTraceDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/BillTraceDto.cs @@ -33,6 +33,9 @@ namespace Myshipping.Application.Service.BookingOrder.Dto public string CARRIER { get; set; } + /// + /// 是否订阅港后运踪 + /// public bool isBook { get; set; } public string AlertEmail { get; set; }