From 6ff4b8c8b765095e7ef0f5940a1a94a8c84260e6 Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Tue, 29 Nov 2022 15:16:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=BB=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E5=88=86=E5=8D=95=E5=8F=B7=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BookingOrder/BookingOrderService.cs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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)