From e6e805f9c46f41b50f4a556732f618ffdb7b4e69 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 18 三月 2025 15:35:31 +0800
Subject: [PATCH] 生产领料单
---
DAL/ClsGy_MaterialMouldBillMain.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/DAL/ClsGy_MaterialMouldBillMain.cs b/DAL/ClsGy_MaterialMouldBillMain.cs
index 8841048..51bb32b 100644
--- a/DAL/ClsGy_MaterialMouldBillMain.cs
+++ b/DAL/ClsGy_MaterialMouldBillMain.cs
@@ -53,7 +53,8 @@
"', HWorkCenterID = '" + omodel.HWorkCenterID +
"', HEquipID = '" + omodel.HEquipID +
"', HOrgID = '" + omodel.HOrgID +
- "' where HInterID = " + omodel.HInterID;
+ "', HProcID = " + omodel.HProcID +
+ " where HInterID = " + omodel.HInterID;
oCn.RunProc(mainSql);
//鍒犻櫎鍏宠仈
@@ -126,7 +127,7 @@
//鎻掑叆涓昏〃
string mainSql = "insert into Gy_MaterialMouldBillMain" +
"(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" +
- ",HDeptID,HEmpID,HMaterID,HWorkCenterID,HEquipID,HOrgID ) " +
+ ",HDeptID,HEmpID,HMaterID,HWorkCenterID,HEquipID,HOrgID,HProcID) " +
"values(" +
"" + omodel.HYear.ToString() +
"," + omodel.HPeriod.ToString() +
@@ -143,8 +144,9 @@
",'" + omodel.HMaterID +
"','" + omodel.HWorkCenterID +
"','" + omodel.HEquipID +
- "','" + omodel.HOrgID +
- "')";
+ "','" + omodel.HOrgID +
+ "'," + omodel.HProcID +
+ ")";
oCn.RunProc(mainSql);
--
Gitblit v1.9.1