diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 66f556fe..63ed846c 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -122,7 +122,7 @@ namespace Myshipping.Application this._repBookingStatus = repBookingStatus; this._bookingEDIExt = bookingEDIExt; } - ////传id 返回分单信息 + #region 主表和箱信息 /// /// 分页查询订舱主表 @@ -599,6 +599,29 @@ namespace Myshipping.Application return ordOut; } + /// + /// 批量编辑 + /// + /// + public async Task BachUpdate(BatchUpdate dto) { + if (dto==null) { + throw Oops.Bah("未提交数据"); + } + + + + + + + + + } + + + + + + #endregion #region 日志、备注、附件、货运动态等 diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BatchUpdate.cs b/Myshipping.Application/Service/BookingOrder/Dto/BatchUpdate.cs new file mode 100644 index 00000000..9a690e96 --- /dev/null +++ b/Myshipping.Application/Service/BookingOrder/Dto/BatchUpdate.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application.Service.BookingOrder.Dto +{ + /// + /// 批量编辑 + /// + public class BatchUpdate + { + /// + /// 主键 + /// + public List Id { get; set; } + + /// + /// 船名 + /// + public string VESSEL { get; set; } + + /// + /// 内部航次 + /// + public string VOYNOINNER { get; set; } + + /// + /// 开船日期 + /// + public DateTime? ETD { get; set; } + + /// + /// 海关航次 + /// + public string VOYNO { get; set; } + + /// + /// 卸货港代码 + /// + public string PORTDISCHARGEID { get; set; } + /// + /// 卸货港 + /// + public string PORTDISCHARGE { get; set; } + + /// + /// 目的地代码 + /// + public string DESTINATIONID { get; set; } + /// + /// 目的地 + /// + public string DESTINATION { get; set; } + + /// + /// 截港日期 + /// + public DateTime? CLOSINGDATE { get; set; } + /// + /// 截单日期 + /// + public DateTime? CLOSEDOCDATE { get; set; } + } +}