修改BC任务生成舱位

optimize
jianghaiqing 10 months ago
parent 6ac5d1390b
commit c1b6d8671e

@ -331,5 +331,10 @@ namespace Myshipping.Application
/// 订舱确认时间 /// 订舱确认时间
/// </summary> /// </summary>
public Nullable<DateTime> BookingConfirmDate { get; set; } public Nullable<DateTime> BookingConfirmDate { get; set; }
/// <summary>
/// 舱位主键
/// </summary>
public Nullable<long> BookingSlotId { get; set; }
} }
} }

@ -761,6 +761,10 @@ namespace Myshipping.Application
} }
} }
} }
else
{
throw Oops.Oh($"生成舱位失败,舱位已存在");
}
#endregion #endregion
} }
else if (model.GenerateMethod == "GEN_BOOKING") else if (model.GenerateMethod == "GEN_BOOKING")

Loading…
Cancel
Save