zhaowc
2025-05-20 d09a1552e45e6cfc8f83c0249cd296b8706c0dc2
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 = ""
            });