From 81153805980c20e62e2b8867f55580ae02fb9a6b Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Wed, 13 Sep 2023 17:54:07 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=A2=9E=E5=8A=A0=E5=8D=95=E7=8B=AC=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E4=B8=9C=E8=83=9C=E5=90=8C=E6=AD=A5=E6=96=B9=E6=B3=95?= =?UTF-8?q?=202=E3=80=81Draft=E6=A0=BC=E5=BC=8F=E5=8D=95=E6=AF=94=E5=AF=B9?= =?UTF-8?q?dto=E5=A2=9E=E5=8A=A03=E4=B8=AA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BookingOrder/BookingValueAddedService.cs | 36 +++++++++++++++++++ .../BookingOrder/IBookingValueAddedService.cs | 6 ++++ .../Dtos/CompareDraftDataInfo.cs | 18 ++++++++++ 3 files changed, 60 insertions(+) diff --git a/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs b/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs index 9e6ca07d..4882f587 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs @@ -2522,7 +2522,43 @@ namespace Myshipping.Application return result; } + #region 推送东胜同步 + /// + /// 推送东胜同步 + /// + /// 订舱主键组 + /// 返回回执 + [HttpPost("/BookingValueAdded/SinglePushBKOrderSyncDS")] + public async Task SinglePushBKOrderSyncDS([FromBody] long[] ids) + { + TaskManageOrderResultDto result = new TaskManageOrderResultDto(); + + string batchNo = IDGen.NextID().ToString(); + + try + { + var rlt = await _bookingOrderService.SendBookingOrder(ids); + + if(rlt != null) + { + result.succ = true; + result.msg = "同步完成"; + } + else + { + result.succ = false; + result.msg = "同步失败"; + } + } + catch (Exception ex) + { + result.succ = false; + result.msg = $"推送东胜同步失败,原因:{ex.Message}"; + } + return result; + } + #endregion } public class DateTimeJsonConverter : System.Text.Json.Serialization.JsonConverter> diff --git a/Myshipping.Application/Service/BookingOrder/IBookingValueAddedService.cs b/Myshipping.Application/Service/BookingOrder/IBookingValueAddedService.cs index 7fcab96c..dfa62144 100644 --- a/Myshipping.Application/Service/BookingOrder/IBookingValueAddedService.cs +++ b/Myshipping.Application/Service/BookingOrder/IBookingValueAddedService.cs @@ -131,5 +131,11 @@ namespace Myshipping.Application /// 返回回执 Task CancelServiceStatus(ModifyServiceProjectStatusDto model); + /// + /// 推送东胜同步 + /// + /// 订舱主键组 + /// 返回回执 + Task SinglePushBKOrderSyncDS(long[] ids); } } diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/CompareDraftDataInfo.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/CompareDraftDataInfo.cs index f63924b1..4bcfe2dc 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Dtos/CompareDraftDataInfo.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/CompareDraftDataInfo.cs @@ -198,6 +198,24 @@ namespace Myshipping.Application [Description("包装")] public string KindPKGs { get; set; } + /// + /// 温度(冻柜) + /// + [Description("冻:温度")] + public string TempSet { get; set; } + + /// + /// 通风(冻柜) + /// + [Description("冻:通风")] + public string Reeferf { get; set; } + + /// + /// 湿度(冻柜) + /// + [Description("冻:湿度")] + public string Humidity { get; set; } + /// /// 箱明细 ///