From 270745adb7005028446aaca553c6e3b04beef65e Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Thu, 24 Nov 2022 09:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BookingOrder/BookingOrderService.cs | 25 ++++++- .../Service/BookingOrder/Dto/BatchUpdate.cs | 66 +++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 Myshipping.Application/Service/BookingOrder/Dto/BatchUpdate.cs 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; } + } +}