From 7ef4979eae3e9f15c70aad2022a5015faeffb1c2 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期二, 06 一月 2026 13:05:04 +0800
Subject: [PATCH] 1

---
 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 50c5e22..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 * from Gy_BarCodeBill 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