From 6f89acbf74c6838db518a9f2b6c83f0ab0d97e7f Mon Sep 17 00:00:00 2001 From: 杨张扬 <634643841@qq.com> Date: 星期二, 29 七月 2025 18:13:31 +0800 Subject: [PATCH] 余料回库流程增加绑定和解绑,RFID校验必须校验开头 --- wms/LocationHelper.cs | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/wms/LocationHelper.cs b/wms/LocationHelper.cs index 2c22fba..3527034 100644 --- a/wms/LocationHelper.cs +++ b/wms/LocationHelper.cs @@ -307,6 +307,11 @@ bindLocCntList.Add(new TN_Loc_Container() { S_LOC_CODE = loc, S_CNTR_CODE = item }); } + if (bindLocCntList.Count == 0) + { + LogHelper.Info($"宸茬粦瀹氾紝娌℃湁瑕佺粦瀹氱殑鏂板鍣紝{logs}"); + return $"宸茬粦瀹氾紝娌℃湁瑕佺粦瀹氱殑鏂板鍣紝{logs}"; + } var log = JsonConvert.SerializeObject(bindLocCntList); @@ -517,7 +522,7 @@ } /// <summary> - /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍚堟牸锛�娣峰悎锛�涓�骇鏂欍�7浜岀骇鏂�+ /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍒ゅ畾锛�娣峰悎锛�E绾ф枡銆�浜岀骇鏂� /// </summary> /// <param name="state"></param> /// <returns></returns> @@ -541,7 +546,7 @@ } if (state == 4) { - return "鎶�湳鍚堟牸"; + return "鎶�湳鍒ゅ畾"; } if (state == 5) { @@ -549,7 +554,7 @@ } if (state == 6) { - return "涓�骇鏂�; + return "E绾ф枡"; } if (state == 7) { @@ -605,7 +610,7 @@ public string rfId { get; set; }//瀹瑰櫒鍙� /// <summary> - /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝3杩囨湡锛�鎶�湳鍚堟牸锛�娣峰悎锛�涓�骇鏂欍�7浜岀骇鏂�+ /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝3杩囨湡锛�鎶�湳鍒ゅ畾锛�娣峰悎锛�E绾ф枡銆�浜岀骇鏂� /// </summary> public int cgState { get; set; }//鐗╂枡鐘舵� -- Gitblit v1.9.1