From dafbb79d89e157558b48e35ef3978fb197e6da32 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期三, 17 七月 2024 14:11:37 +0800
Subject: [PATCH] 产品工艺对应清单增加模具字段

---
 DAL/计划管理/ClsGy_MaterialTechParamBillMain.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_MaterialTechParamBillMain.cs" "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_MaterialTechParamBillMain.cs"
index e84b64c..e23593b 100644
--- "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_MaterialTechParamBillMain.cs"
+++ "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_MaterialTechParamBillMain.cs"
@@ -54,6 +54,7 @@
                     "', HProcID  = '" + omodel.HProcID +
                     "', HEquipID  = '" + omodel.HEquipID +
                     "', HOrgID	  = '" + omodel.HOrgID +
+                    "', HMouldID = '" + omodel.HMouldID +
                     "' where HInterID = " + omodel.HInterID;
 
                 oCn.RunProc(mainSql);
@@ -131,7 +132,7 @@
                 //鎻掑叆涓昏〃
                 string mainSql = "insert into Gy_MaterialTechParamBillMain" +
                     "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" +
-                    ",HDeptID,HEmpID,HMaterID,HWorkCenterID,HEquipID,HOrgID,HProcID ) " +
+                    ",HDeptID,HEmpID,HMaterID,HWorkCenterID,HEquipID,HOrgID,HProcID,HMouldID ) " +
                     "values(" +
                     "" + omodel.HYear.ToString() +
                     "," + omodel.HPeriod.ToString() +
@@ -149,7 +150,8 @@
                     "','" + omodel.HWorkCenterID +
                     "','" + omodel.HEquipID +
                     "','" + omodel.HOrgID +
-                     "','" + omodel.HProcID +
+                    "','" + omodel.HProcID +
+                     "','" + omodel.HMouldID +
                     "')";
 
                 oCn.RunProc(mainSql);

--
Gitblit v1.9.1