From 6ec432ea8db5aa36c7cc50f90a7e02676950a22f Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期一, 14 七月 2025 17:21:16 +0800
Subject: [PATCH] 修改问题
---
Wms/Wms/Controllers/BllAsnController.cs | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/Wms/Wms/Controllers/BllAsnController.cs b/Wms/Wms/Controllers/BllAsnController.cs
index b4e38cc..d505a8f 100644
--- a/Wms/Wms/Controllers/BllAsnController.cs
+++ b/Wms/Wms/Controllers/BllAsnController.cs
@@ -16,6 +16,9 @@
using System.Diagnostics;
using Model.ModelDto.SysDto;
using static System.Reflection.Metadata.BlobBuilder;
+using WMS.DAL;
+using static System.Net.WebRequestMethods;
+using WMS.IBLL;
namespace Wms.Controllers
{
@@ -35,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;
@@ -50,6 +54,8 @@
_labelBox = labelBox;
_procurePlanSvc = procurePlanSvc;
_palletUpShelfSvc = palletUpShelfSvc;
+
+ _http = http;
}
#endregion
@@ -63,6 +69,7 @@
[ServiceFilter(typeof(ApiResponseActionFilter))]
public async Task<SqlSugarPagedList> GetArrivalNoticeList(ArrivalNoticeVm model)
{
+ var models = Common.GetCarPath("141401", "040401", 1,"1");
RefAsync<int> count = new RefAsync<int>();
var bolls = await _arrivalNoticeSvc.GetArrivalNoticeList(model, count);
@@ -185,7 +192,7 @@
}
if (strMesage.Contains("-1"))
{
- return Ok(new { code = 0, msg = "閮ㄥ垎鎴愬姛 " + strMesage });
+ return Ok(new { code = 1, msg = "閮ㄥ垎鎴愬姛 " + strMesage });
}
else
{
@@ -758,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