diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 305eb57a..bdd86c4f 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -317,10 +317,10 @@ namespace Myshipping.Application if (input.ParentId == 0) { - if (!string.IsNullOrWhiteSpace(input.HBLNO)) - { - throw Oops.Bah("主单不需要填写分单号"); - } + //if (!string.IsNullOrWhiteSpace(input.HBLNO)) + //{ + // throw Oops.Bah("主单不需要填写分单号"); + //} if (string.IsNullOrWhiteSpace(input.MBLNO)) { throw Oops.Bah("请填写提单号!"); @@ -427,10 +427,10 @@ namespace Myshipping.Application { if (input.ParentId == 0) { - if (!string.IsNullOrWhiteSpace(input.HBLNO)) - { - throw Oops.Bah("主单不需要填写分单号"); - } + //if (!string.IsNullOrWhiteSpace(input.HBLNO)) + //{ + // throw Oops.Bah("主单不需要填写分单号"); + //} if (string.IsNullOrWhiteSpace(input.MBLNO)) { throw Oops.Bah("请填写提单号!"); @@ -1178,8 +1178,6 @@ namespace Myshipping.Application reportUrl += "/"; } - reportUrl = "http://127.0.0.1:8101/"; //test - //订舱数据 var order = _rep.FirstOrDefault(x => x.Id == bookingId); if (order == null)