BC同步逻辑修改

master
zhangxiaofeng 8 months ago
parent 61a054ec77
commit fd06f0ff77

@ -1139,7 +1139,7 @@ namespace Myshipping.Application
BookingOrderSyncTypeEnum? syncTypeEnum = syncType switch
{
"BC" => BookingOrderSyncTypeEnum.BC,
"FILE" => BookingOrderSyncTypeEnum.FILE,
//"FILE" => BookingOrderSyncTypeEnum.FILE,
_ => null,
};

@ -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);
}
}
/// <summary>

@ -9,8 +9,8 @@ public enum BookingOrderSyncTypeEnum
/// 只同步BC+文件相关字段
/// </summary>
BC = 1,
/// <summary>
/// 只同步文件相关字段
/// </summary>
FILE = 2,
///// <summary>
///// 只同步文件相关字段
///// </summary>
//FILE = 2,
}

Loading…
Cancel
Save