From 5b896f973c393358d1e8acc01a2f6fc67bd887ee Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 31 五月 2024 14:51:41 +0800
Subject: [PATCH] 添加生产资源,模具字段

---
 DAL/工位看板/ClsGy_SOPBill.cs      |    5 +++--
 Model/工位看板/ClsGy_SOPBillSub.cs |    4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git "a/DAL/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBill.cs" "b/DAL/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBill.cs"
index 521d38e..1c0c52b 100644
--- "a/DAL/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBill.cs"
+++ "b/DAL/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBill.cs"
@@ -111,10 +111,11 @@
                 {
                     oCn.RunProc("Insert into Gy_SOPBillSub " +
                           "(HInterID,HEntryID,HProcID,HProcNO" +
-                          ",HWorkStationID,HCenterID,HRemark" +
+                          ",HWorkStationID,HCenterID,HRemark,HSourceID,HMouldID" +
                           ") values("
                           + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + "," + oSub.HProcID.ToString() + "," + oSub.HProcNo.ToString() +
-                          "," + oSub.HWorkStationID.ToString() + "," + oSub.HCenterID.ToString() + ",'" + oSub.HRemark.ToString() + "'" +
+                          "," + oSub.HWorkStationID.ToString() + "," + oSub.HCenterID.ToString() + ",'" + oSub.HRemark.ToString() + "'," + oSub.HSourceID +
+                          "," + oSub.HMouldID +
                           ") ");
                 }
                 sReturn = "鏂板鍗曟嵁鎴愬姛锛�";
diff --git "a/Model/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBillSub.cs" "b/Model/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBillSub.cs"
index b561830..714c0c3 100644
--- "a/Model/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBillSub.cs"
+++ "b/Model/\345\267\245\344\275\215\347\234\213\346\235\277/ClsGy_SOPBillSub.cs"
@@ -11,5 +11,9 @@
         public Int64 HWorkStationID;    //----工位ID(Gy_WorkStation)
         public Int64 HCenterID;         //----工作中心ID (Gy_WorkCenter)
         public string HRemark;          //----备注
+
+        public Int64 HSourceID;         //生产资源ID
+        public Int64 HMouldID;         //模具ID 
+
     }
 }

--
Gitblit v1.9.1