From 1e5c4412216cdba315ab37ebc8e85644f39a7df1 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期五, 11 七月 2025 16:50:02 +0800
Subject: [PATCH] PDA校验扫描物料条码方法修改,增加校验模块免扫物料条码系统参数

---
 WebAPI/Controllers/BaseSet/Gy_BadReasonController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/BaseSet/Gy_BadReasonController.cs b/WebAPI/Controllers/BaseSet/Gy_BadReasonController.cs
index c9a3aa8..86a0289 100644
--- a/WebAPI/Controllers/BaseSet/Gy_BadReasonController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_BadReasonController.cs
@@ -305,7 +305,7 @@
                     return objJsonResult;
                 }
 
-                var ds = oCN.RunProcReturn("select * from Gy_BadReason where  HNumber='" + HNumber + "' and HUSEORGID='" + HOrgID + "'", "Gy_BadReason");
+                var ds = oCN.RunProcReturn("select * from Gy_BadReason with(nolock) where  HNumber='" + HNumber + "' and HUSEORGID='" + HOrgID + "'", "Gy_BadReason");
                 if (ds.Tables[0].Rows.Count > 0)
                 {
                     if (IsAudit == 0)  //瀹℃牳鍒ゆ柇

--
Gitblit v1.9.1