From fd06f0ff774709969653675be754c5855671488f Mon Sep 17 00:00:00 2001
From: zhangxiaofeng <1939543722@qq.com>
Date: Mon, 8 Apr 2024 11:51:39 +0800
Subject: [PATCH] =?UTF-8?q?BC=E5=90=8C=E6=AD=A5=E9=80=BB=E8=BE=91=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../BookingCustomerOrder/BookingCustomerOrderService.cs | 2 +-
.../Service/BookingOrder/BookingOrderService.cs | 4 ++--
Myshipping.Core/Enum/BookingOrderSyncTypeEnum.cs | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Myshipping.Application/Service/BookingCustomerOrder/BookingCustomerOrderService.cs b/Myshipping.Application/Service/BookingCustomerOrder/BookingCustomerOrderService.cs
index 21aed4ca..3b13c688 100644
--- a/Myshipping.Application/Service/BookingCustomerOrder/BookingCustomerOrderService.cs
+++ b/Myshipping.Application/Service/BookingCustomerOrder/BookingCustomerOrderService.cs
@@ -1139,7 +1139,7 @@ namespace Myshipping.Application
BookingOrderSyncTypeEnum? syncTypeEnum = syncType switch
{
"BC" => BookingOrderSyncTypeEnum.BC,
- "FILE" => BookingOrderSyncTypeEnum.FILE,
+ //"FILE" => BookingOrderSyncTypeEnum.FILE,
_ => null,
};
diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
index 3e57f63d..32e1dd21 100644
--- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
+++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
@@ -2183,7 +2183,7 @@ namespace Myshipping.Application
// 客户订舱:运营端发送订舱数据给客户端
if (App.Configuration["RunType"] == CommonConst.RUN_TYPE_DJY)
{
- CustomerBookingSyncHelper.SendCustomerBookingSync(Id, "FILE");
+ CustomerBookingSyncHelper.SendCustomerBookingSync(Id, BookingOrderSyncTypeEnum.BC.ToString());
}
return ordOut;
@@ -11917,7 +11917,7 @@ namespace Myshipping.Application
if (App.Configuration["RunType"] == CommonConst.RUN_TYPE_DJY)
{
//推送订舱数据到客户订舱系统
- CustomerBookingSyncHelper.SendCustomerBookingSync(bookingId, "ALL");
+ CustomerBookingSyncHelper.SendCustomerBookingSync(bookingId);
}
}
///
diff --git a/Myshipping.Core/Enum/BookingOrderSyncTypeEnum.cs b/Myshipping.Core/Enum/BookingOrderSyncTypeEnum.cs
index 8214e668..e48f4a00 100644
--- a/Myshipping.Core/Enum/BookingOrderSyncTypeEnum.cs
+++ b/Myshipping.Core/Enum/BookingOrderSyncTypeEnum.cs
@@ -9,8 +9,8 @@ public enum BookingOrderSyncTypeEnum
/// 只同步BC+文件相关字段
///
BC = 1,
- ///
- /// 只同步文件相关字段
- ///
- FILE = 2,
+ /////
+ ///// 只同步文件相关字段
+ /////
+ //FILE = 2,
}