From abc98971653a3716274f947d41b080aa08887c36 Mon Sep 17 00:00:00 2001
From: 杨张扬 <634643841@qq.com>
Date: 星期五, 13 六月 2025 16:18:40 +0800
Subject: [PATCH] 启用容器号解析

---
 api/ApiHelper.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/api/ApiHelper.cs b/api/ApiHelper.cs
index 8732fdf..ff81f44 100644
--- a/api/ApiHelper.cs
+++ b/api/ApiHelper.cs
@@ -684,15 +684,15 @@
             LogHelper.Info("瑙﹀彂API锛歅DA婊℃墭涓嬬嚎鍏ュ簱" + JsonConvert.SerializeObject(model), "API");
             try
             {
-                //if( model.RfId.Length < 16)
-                //{
-                //    result.resultCode = 1;
-                //    result.resultMsg = $"杈撳叆鐨凴FID锛岄暱搴︿笉澶燂紝瑕佸ぇ浜�6浣�;
-                //    LogHelper.Info(result.resultMsg);
-                //    return result;
-                //}
+                if (model.RfId.Length < 16)
+                {
+                    result.resultCode = 1;
+                    result.resultMsg = $"杈撳叆鐨凴FID锛岄暱搴︿笉澶燂紝瑕佸ぇ浜�6浣�;
+                    LogHelper.Info(result.resultMsg);
+                    return result;
+                }
 
-                //model.RfId = WMSHelper.ConvertHexToAscii(model.RfId);
+                model.RfId = WMSHelper.ConvertHexToAscii(model.RfId);
 
                 //璇ヤ骇绾跨殑婊℃墭涓嬬嚎浣嶇疆锛岃捣鐐�                 var startPoint = Settings.ProductionLines.FirstOrDefault(a => a.PointOut == model.StartLoc);

--
Gitblit v1.9.1