From c6830a3ee2e41efe330f5e3458581f14b1767b7f Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 20 六月 2023 08:54:44 +0800
Subject: [PATCH] 网页目录菜单加载

---
 DAL/生产管理/模具管理/ClsSc_MouldDotCheckPlanBill.cs |   68 +++++++++++++++++-----------------
 1 files changed, 34 insertions(+), 34 deletions(-)

diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldDotCheckPlanBill.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldDotCheckPlanBill.cs"
index 8d90b4d..ccd31ec 100644
--- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldDotCheckPlanBill.cs"
+++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/\346\250\241\345\205\267\347\256\241\347\220\206/ClsSc_MouldDotCheckPlanBill.cs"
@@ -9,7 +9,7 @@
     {
         public Model.ClsSc_MouldDotCheckPlanBillMain omodel = new Model.ClsSc_MouldDotCheckPlanBillMain();
         public List<Model.ClsSc_MouldDotCheckPlanBillSub> DetailColl = new List<Model.ClsSc_MouldDotCheckPlanBillSub>();
-        public List<Model.ClsSc_MouldDotCheckPlanBillSub_Item> DetailCol = new List<Model.ClsSc_MouldDotCheckPlanBillSub_Item>();
+        //public List<Model.ClsSc_MouldDotCheckPlanBillSub_Item> DetailCol = new List<Model.ClsSc_MouldDotCheckPlanBillSub_Item>();
 
         public ClsSc_MouldDotCheckPlanBill()
         {
@@ -67,7 +67,7 @@
                 DeleteRelation(ref sReturn, lngBillKey);
                 //鍒犻櫎瀛愯〃
                 DeleteBillSub(lngBillKey);
-                oCn.RunProc("delete from Sc_MouldDotCheckPlanBillSub_Item where HInterID=" + lngBillKey);
+                //oCn.RunProc("delete from Sc_MouldDotCheckPlanBillSub_Item where HInterID=" + lngBillKey);
                 //鎻掑叆瀛愯〃
                 omodel.HInterID = lngBillKey;
                 foreach (Model.ClsSc_MouldDotCheckPlanBillSub oSub in DetailColl)
@@ -75,33 +75,33 @@
                     oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub " +
                       " (HInterID,HEntryID" +
                       ",HManagerID"+
-                      ",HDotCheckItem,HDotCheckPart,HClaim"+
+                      ",HDotCheckItem,HDotCheckItemID,HDotCheckPart,HClaim" +
                       ",HCloseMan,HCloseType,HRemark" +
                       ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
                       ") values("
                       + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() +
                       "," + oSub.HManagerID.ToString() +
-                      ",'" + oSub.HDotCheckItem + "','" + oSub.HDotCheckPart + "','" + oSub.HClaim + "'" +
+                      ",'" + oSub.HDotCheckItem +"'," + oSub.HDotCheckItemID + ",'" + oSub.HDotCheckPart + "','" + oSub.HClaim + "'" +
                       ",'" + oSub.HCloseMan + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'"+
                       "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
                       ") ");
                 }
 
-                //閰嶄欢椤圭洰
-                foreach (Model.ClsSc_MouldDotCheckPlanBillSub_Item oSub in DetailCol)
-                {
-                    oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub_Item " +
-                    " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" +
-                    ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
-                    ",HMaterID,HUnitID" +
-                    ",HQty,HQtyMust" +
-                    ") values("
-                    + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "'," + oSub.HEntryCloseDate.ToShortDateString() + "," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" +
-                    "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
-                    "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() +
-                    "," + oSub.HQty.ToString() + "," + oSub.HQtyMust.ToString() +
-                    ") ");
-                }
+                ////閰嶄欢椤圭洰
+                //foreach (Model.ClsSc_MouldDotCheckPlanBillSub_Item oSub in DetailCol)
+                //{
+                //    oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub_Item " +
+                //    " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" +
+                //    ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
+                //    ",HMaterID,HUnitID" +
+                //    ",HQty,HQtyMust" +
+                //    ") values("
+                //    + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "'," + oSub.HEntryCloseDate.ToShortDateString() + "," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" +
+                //    "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
+                //    "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() +
+                //    "," + oSub.HQty.ToString() + "," + oSub.HQtyMust.ToString() +
+                //    ") ");
+                //}
                 //
                 //foreach (Model.ClsSc_MouldDotCheckPlanBillSub oSub in DetailColl)
                 //{
@@ -166,21 +166,21 @@
                       ") ");
                 }
 
-                //閰嶄欢椤圭洰
-                foreach (Model.ClsSc_MouldDotCheckPlanBillSub_Item oSub in DetailCol)
-                {
-                    oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub_Item " +
-                    " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" +
-                    ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
-                    ",HMaterID,HUnitID" +
-                    ",HQty,HQtyMust" +
-                    ") values("
-                    + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "'," + oSub.HEntryCloseDate.ToShortDateString() + "," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" +
-                    "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
-                    "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() +
-                    "," + oSub.HQty.ToString() + "," + oSub.HQtyMust.ToString() +
-                    ") ");
-                }
+                ////閰嶄欢椤圭洰
+                //foreach (Model.ClsSc_MouldDotCheckPlanBillSub_Item oSub in DetailCol)
+                //{
+                //    oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub_Item " +
+                //    " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" +
+                //    ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
+                //    ",HMaterID,HUnitID" +
+                //    ",HQty,HQtyMust" +
+                //    ") values("
+                //    + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "'," + oSub.HEntryCloseDate.ToShortDateString() + "," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" +
+                //    "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
+                //    "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() +
+                //    "," + oSub.HQty.ToString() + "," + oSub.HQtyMust.ToString() +
+                //    ") ");
+                //}
 
                 //
                 //foreach (Model.ClsSc_MouldDotCheckPlanBillSub oSub in DetailColl)

--
Gitblit v1.9.1