From 2d19c9d40e4df1d18239a68a2eb428f169095448 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng <1939543722@qq.com> Date: Sat, 26 Oct 2024 11:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E8=88=B1=E5=85=A5=E6=B1=A0=E5=90=8E?= =?UTF-8?q?=E8=B0=83=E7=94=A8cargoo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DS.WMS.Core/Op/Method/SeaExportRefundService.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportRefundService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportRefundService.cs index 8d263ef3..5e84009c 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportRefundService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportRefundService.cs @@ -7,6 +7,7 @@ using DS.Module.UserModule; using DS.WMS.Core.Fee.Entity; using DS.WMS.Core.Flow.Dtos; using DS.WMS.Core.Op.Dtos; +using DS.WMS.Core.Op.Dtos.Cargoo; using DS.WMS.Core.Op.Entity; using DS.WMS.Core.Op.Interface; using DS.WMS.Core.Sys.Entity; @@ -610,6 +611,14 @@ namespace DS.WMS.Core.Op.Method if (!res.Succeeded) return await Task.FromResult(DataResult.Failed(res.Message)); + // 订舱完成推送Cargoo + var cargooService = _serviceProvider.GetRequiredService(); + await cargooService.SendCargoo(new CargooShipmentReqDto() + { + bookingId = task.BusinessId, + cargooStatusEnum = CargooStatusEnum.Confirmed + }); + return DataResult.Success; }