From 3a050b4d542dd2aefa65de27a6acecca1d9dda3d Mon Sep 17 00:00:00 2001 From: chengsc <11752@DESKTOP-DS49RCP> Date: 星期日, 25 五月 2025 14:27:04 +0800 Subject: [PATCH] 修改问题 --- Wms/Wms/Controllers/BllAsnController.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Wms/Wms/Controllers/BllAsnController.cs b/Wms/Wms/Controllers/BllAsnController.cs index 14488e9..d505a8f 100644 --- a/Wms/Wms/Controllers/BllAsnController.cs +++ b/Wms/Wms/Controllers/BllAsnController.cs @@ -17,6 +17,8 @@ using Model.ModelDto.SysDto; using static System.Reflection.Metadata.BlobBuilder; using WMS.DAL; +using static System.Net.WebRequestMethods; +using WMS.IBLL; namespace Wms.Controllers { @@ -36,10 +38,11 @@ private readonly IBllLabelBoxNoServer _labelBox; // 绠辩爜鏍囩 private readonly IProcurePlanServer _procurePlanSvc; // 绠辩爜鏍囩 private readonly IPalletUpShelfServer _palletUpShelfSvc; // 涓婃灦璁板綍 + private readonly IHttpServer _http; #endregion #region 鏋勯�犲嚱鏁� - public BllAsnController(IArrivalNoticeServer arrivalNoticeSvc, IPalletBindServer palletBindSvc, IBllBoxInfoServer bllBoxInfoSvc, ITaskServer taskSvc, IOperationASNServer logSvc, IPalletUnbindServer palletUnbind, IAuditLogServer auditLog, IBllLabelBoxNoServer labelBox, IProcurePlanServer procurePlanSvc, IPalletUpShelfServer palletUpShelfSvc) + public BllAsnController(IArrivalNoticeServer arrivalNoticeSvc, IPalletBindServer palletBindSvc, IBllBoxInfoServer bllBoxInfoSvc, ITaskServer taskSvc, IOperationASNServer logSvc, IPalletUnbindServer palletUnbind, IAuditLogServer auditLog, IBllLabelBoxNoServer labelBox, IProcurePlanServer procurePlanSvc, IPalletUpShelfServer palletUpShelfSvc, IHttpServer http) { _arrivalNoticeSvc = arrivalNoticeSvc; _PalletBindSvc = palletBindSvc; @@ -51,6 +54,8 @@ _labelBox = labelBox; _procurePlanSvc = procurePlanSvc; _palletUpShelfSvc = palletUpShelfSvc; + + _http = http; } #endregion @@ -760,8 +765,8 @@ { return Ok(new { code = 1, msg = "鏈幏鍙栧埌褰撳墠鎿嶄綔浜轰俊鎭�" }); } - _PalletBindSvc.ArrivalSuccessBack(taskNo, int.Parse(userId)); - + //_PalletBindSvc.ArrivalSuccessBack(taskNo, int.Parse(userId)); + _http.ArrivalSuccess2(taskNo, int.Parse(userId)); return Ok(new { code = 0, msg = "鎴愬姛瀹屾垚浠诲姟", data = "" }); -- Gitblit v1.8.0