From 9f2520cf48814553f225271f492ea0d8f763e9d4 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期一, 12 一月 2026 11:24:35 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 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