From c6d9fc76d16c944e64d6490eb2a6d866fd7a38f0 Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期三, 12 十一月 2025 09:06:01 +0800
Subject: [PATCH] 11

---
 MES.Service/service/QC/BarcodeService.cs |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/MES.Service/service/QC/BarcodeService.cs b/MES.Service/service/QC/BarcodeService.cs
index de8ecce..3030b81 100644
--- a/MES.Service/service/QC/BarcodeService.cs
+++ b/MES.Service/service/QC/BarcodeService.cs
@@ -64,17 +64,17 @@
             throw new ArgumentException($"宸ュ崟 {request.workOrderNumber} 涓嶅瓨鍦�");
         }
 
-        foreach (var barcode in request.barcodes)
-        {
-            if (string.IsNullOrEmpty(barcode) || !barcode.StartsWith("BC"))
-            {
-                throw new ArgumentException($"鏉$爜 {barcode} 鏃犳晥");
-            }
-
-            if (!GeneratedBarcodes.Contains(barcode))
-            {
-                throw new ArgumentException($"鏉$爜 {barcode} 鏃犳晥");
-            }
-        }
+        // foreach (var barcode in request.barcodes)
+        // {
+        //     if (string.IsNullOrEmpty(barcode) || !barcode.StartsWith("BC"))
+        //     {
+        //         throw new ArgumentException($"鏉$爜 {barcode} 鏃犳晥");
+        //     }
+        //
+        //     if (!GeneratedBarcodes.Contains(barcode))
+        //     {
+        //         throw new ArgumentException($"鏉$爜 {barcode} 鏃犳晥");
+        //     }
+        // }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3