From 01cc5773457f68274ef1b2d9d9daca8983761828 Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期四, 05 六月 2025 17:33:03 +0800 Subject: [PATCH] 佳通bug优化 --- HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/api/WmsController.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/api/WmsController.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/api/WmsController.cs index 6f1ff5e..9aa224c 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/api/WmsController.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/api/WmsController.cs @@ -199,11 +199,7 @@ { LogHelper.Info("switchStationAttribute 鍏ュ弬锛� + JsonConvert.SerializeObject(model), "WMS"); ResponseResult result = new ResponseResult(); - var bo = ApiHelper.switchStationAttribute(model); - if (!bo) - { - result.code = 201; - } + result = ApiHelper.switchStationAttribute(model); LogHelper.Info("switchStationAttribute 鍑哄弬锛� + JsonConvert.SerializeObject(result), "WMS"); return result; } @@ -230,6 +226,8 @@ public class LocStateFeedBackModel { + public string reqId { get; set; } + public string reqTime { get; set; } public string loc_code { get; set; } // 绔欏彴缂栫爜 public string type { get; set; } // 璇锋眰绫诲瀷 1 鍏佽鍙栬揣 2 鍏佽鏀捐揣 public string req_no { get; set; } // 绔欏彴缂栫爜 @@ -237,6 +235,8 @@ public class SwitchStationAttributeModel { + public string reqId { get; set; } + public string reqTime { get; set; } public string locCode { get; set; } // 绔欏彴缂栫爜 public string signalType { get; set; } // 1.agv涓婃枡妯″紡 2.浜哄伐妯″紡 } @@ -250,6 +250,8 @@ public class OutStockModel { public string endLocCode { get; set; } + public string reqId { get; set; } + public string reqTime { get; set; } } } } -- Gitblit v1.9.1