diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderBCInfo.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderBCInfo.cs index b5a1d4b6..bf1a40cf 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderBCInfo.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderBCInfo.cs @@ -331,5 +331,10 @@ namespace Myshipping.Application /// 订舱确认时间 /// public Nullable BookingConfirmDate { get; set; } + + /// + /// 舱位主键 + /// + public Nullable BookingSlotId { get; set; } } } diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs index 4b1c0b23..a62f02f0 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs @@ -761,6 +761,10 @@ namespace Myshipping.Application } } } + else + { + throw Oops.Oh($"生成舱位失败,舱位已存在"); + } #endregion } else if (model.GenerateMethod == "GEN_BOOKING")