From 4de417b106a062452f5ac86e626e7e225b753eab Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期二, 23 九月 2025 08:03:11 +0800
Subject: [PATCH] 优化问题
---
Wms/Wms/Controllers/SysController.cs | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/Wms/Wms/Controllers/SysController.cs b/Wms/Wms/Controllers/SysController.cs
index a524fa1..594879f 100644
--- a/Wms/Wms/Controllers/SysController.cs
+++ b/Wms/Wms/Controllers/SysController.cs
@@ -1327,7 +1327,7 @@
{
return Ok(new { code = 1, msg = "涓鸿幏鍙栧埌褰撳墠鎿嶄綔浜轰俊鎭�" });
}
- _palletSvc.AddPallets(model.PalletNo, model.LocatNo, model.DeviceCode, int.Parse(userId));
+ _palletSvc.AddPallets(model.PalletNo, model.LocatNo, model.DeviceCode,_config.AgvHost+_config.AGVBindPallets, int.Parse(userId));
return Ok(new { code = 0, msg = "娣诲姞鎴愬姛", data = "" });
@@ -1701,16 +1701,14 @@
/// <summary>
/// 鏍规嵁浠撳簱 鎺�
- /// </summary>
- /// <param name="wareHouseNo">浠撳簱</param>
- /// <param name="row">鎺�</param>
- /// <param name="depth">娣卞害</param>
+ /// </summary>
+ /// <param name="row">鎺�</param>
/// <returns></returns>
[HttpGet]
- public IActionResult GetFlatLibraryLegend(string wareHouseNo, string row)
+ public IActionResult GetFlatLibraryLegend(string row)
{
//鑾峰彇鍌ㄤ綅淇℃伅
- List<SysStorageLocat> storagelist = _locatSvc.GetFlatLibraryLegend(wareHouseNo, row);
+ List<LocatDto> storagelist = _locatSvc.GetFlatLibraryLegend(row);
//Dictionary<string, int> dic = new Dictionary<string, int>()
//{
@@ -1719,8 +1717,7 @@
return Ok(new
{
- data = storagelist,
- //dic,
+ data = storagelist,
code = 0,
msg = ""
});
--
Gitblit v1.8.0