运营端保存订舱台账时,向客户端推送的类型改为文件,同时客户端向东胜推送的类型改为文件

master
zhangxiaofeng 8 months ago
parent bc9d60fe5c
commit f356544f9a

@ -1141,6 +1141,7 @@ namespace Myshipping.Application
{
"ALL" => BookingOrderSyncTypeEnum.ALL,
"BC" => BookingOrderSyncTypeEnum.BC,
"FILE" => BookingOrderSyncTypeEnum.FILE,
_ => BookingOrderSyncTypeEnum.ALL,
};

@ -2182,7 +2182,7 @@ namespace Myshipping.Application
// 客户订舱:运营端发送订舱数据给客户端
if (App.Configuration["RunType"] == CommonConst.RUN_TYPE_DJY)
{
CustomerBookingSyncHelper.SendCustomerBookingSync(Id, "ALL");
CustomerBookingSyncHelper.SendCustomerBookingSync(Id, "FILE");
}
return ordOut;

@ -12,7 +12,7 @@ namespace Myshipping.Application.Service.DataSync.Dto
public class SyncBookingOrderDto
{
/// <summary>
/// 字段同步类型 空:更新全部字段 BC只更新BC相关字段
/// 字段同步类型 空或ALL:更新全部字段 BC只更新BC相关字段 FILE只更新文件相关字段
/// </summary>
public string SyncType { get; set; }

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

Loading…
Cancel
Save