From 2f9476550e94b29a5abcce861e7aab8f7fae7d49 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 06 一月 2026 14:51:57 +0800
Subject: [PATCH] 合并

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

diff --git a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
index e26ff01..cefa5c5 100644
--- a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
@@ -2891,7 +2891,6 @@
                 string HUpDater = mainList[0].HUpDater;
                 string HMaterNumber = mainList[0].HMaterNumber;
                 string HSupNumber = mainList[0].HSupNumber;
-                long HPrintQty = mainList[0].HPrintQty;
                 string HMouldOWNER = mainList[0].HMouldOWNER;
                 string HSaveLife = mainList[0].HSaveLife;
                 int HCaveQty = mainList[0].HCaveQty;
@@ -2949,7 +2948,7 @@
                 }
                 //=========================================================
 
-                                //涓昏〃
+                //涓昏〃
                 oCN.RunProc("UpDate Gy_MouldFileMain set  " +
                  " HBillNo='" + HBillNo + "'" +  //鍥哄畾璧嬪��===============
                  ",HDate='" + HDate + "'" +
@@ -2979,7 +2978,6 @@
                  ",HDeptID=" + HDeptID.ToString() +
                  ",HSupID=" + HSupID.ToString() +
                  ",HSupNumber='" + HSupNumber + "'" +
-                 ",HPrintQty=" + HPrintQty.ToString() +
                  ",HMouldStatus='" + HMouldStatus + "'" +
                  ",HSaveLife='" + HSaveLife + "'" +
                  ",HWhID=" + HWHID.ToString() +
@@ -5138,7 +5136,7 @@
         {
             try
             {
-                ds = oCN.RunProcReturn($"select *,b.hnumber,b.hname MaterialName HMaterNumber from Gy_BarCodeBill a left join Gy_Material b on a.HMaterID=b.HItemID where HBarCode='{HbarCode}' ", "Gy_Material");
+                ds = oCN.RunProcReturn($"select *,b.hnumber HMaterNumber,b.hname HMaterName_m from Gy_BarCodeBill a with(nolock) left join Gy_Material b with(nolock) on a.HMaterID=b.HItemID where HBarCode='{HbarCode}' ", "Gy_Material");
                 if (ds == null || ds.Tables[0].Rows.Count == 0)
                 {
                     objJsonResult.code = "0";

--
Gitblit v1.9.1