From 919f5fcd6818d7a62f7cd149e051e4ae48cfd3f6 Mon Sep 17 00:00:00 2001 From: yusijie <ysj@hz-kingdee.com> Date: 星期二, 03 一月 2023 17:05:29 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/MJGL/Sc_MouldDotCheckRuleBillController.cs | 2 +- DAL/生产管理/模具管理/ClsSc_MouldMaintainPlanBill.cs | 4 ++-- DAL/生产管理/模具管理/ClsSc_MouldDotCheckRuleBill.cs | 12 ++++++------ 3 files changed, 9 insertions(+), 9 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_MouldDotCheckRuleBill.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_MouldDotCheckRuleBill.cs" index e69f9f5..cd137ea 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_MouldDotCheckRuleBill.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_MouldDotCheckRuleBill.cs" @@ -8,8 +8,8 @@ public class ClsSc_MouldDotCheckRuleBill : DBUtility.ClsXt_BaseBill { public Model.ClsSc_MouldDotCheckRuleBillMain omodel = new Model.ClsSc_MouldDotCheckRuleBillMain(); - public List<Model.ClsSc_MouldDotCheckRuleBillSub> DetailCol = new List<Model.ClsSc_MouldDotCheckRuleBillSub>(); - public List<Model.ClsSc_MouldDotCheckRuleBillSub_Item> DetailColl = new List<Model.ClsSc_MouldDotCheckRuleBillSub_Item>(); + public List<Model.ClsSc_MouldDotCheckRuleBillSub> DetailColl = new List<Model.ClsSc_MouldDotCheckRuleBillSub>(); + public List<Model.ClsSc_MouldDotCheckRuleBillSub_Item> DetailCol = new List<Model.ClsSc_MouldDotCheckRuleBillSub_Item>(); public ClsSc_MouldDotCheckRuleBill() { @@ -61,7 +61,7 @@ //oCn.RunProc("delete from Sc_MouldDotCheckRuleBillSub_Item where HInterID=" + lngBillKey); ////鎻掑叆瀛愯〃 omodel.HInterID = lngBillKey; - foreach (Model.ClsSc_MouldDotCheckRuleBillSub oSub in DetailCol) + foreach (Model.ClsSc_MouldDotCheckRuleBillSub oSub in DetailColl) { oCn.RunProc("Insert into Sc_MouldDotCheckRuleBillSub " + " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + @@ -122,7 +122,7 @@ ") "); ////鎻掑叆瀛愯〃 - foreach (Model.ClsSc_MouldDotCheckRuleBillSub oSub in DetailCol) + foreach (Model.ClsSc_MouldDotCheckRuleBillSub oSub in DetailColl) { oCn.RunProc("Insert into Sc_MouldDotCheckRuleBillSub " + " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + @@ -211,7 +211,7 @@ //寰幆 DataSet DsSub; DsSub = oCn.RunProcReturn("Select * from Sc_MouldDotCheckRuleBillSub Where HInterID=" + lngBillKey.ToString() + " order by HEntryID ", "Sc_MouldDotCheckRuleBillSub"); - DetailCol.Clear();//娓呯┖ + DetailColl.Clear();//娓呯┖ for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++) { Model.ClsSc_MouldDotCheckRuleBillSub oSub = new Model.ClsSc_MouldDotCheckRuleBillSub(); @@ -235,7 +235,7 @@ oSub.HClaim = DsSub.Tables[0].Rows[0]["HClaim"].ToString().Trim(); oSub.HManagerID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HManagerID"]); - DetailCol.Add(oSub); + DetailColl.Add(oSub); } sReturn = "鏄剧ず鍗曟嵁鎴愬姛锛�"; return true; 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_MouldMaintainPlanBill.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_MouldMaintainPlanBill.cs" index ae91b89..b8529c8 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_MouldMaintainPlanBill.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_MouldMaintainPlanBill.cs" @@ -103,8 +103,8 @@ ",'" + Item.HMaintainPart.ToString() + "','" + Item.HClaim.ToString() + "'" + "," + Item.HManagerID.ToString() + ",'" + Item.HCloseMan + "'," + Convert.ToString(Item.HCloseType ? 1 : 0) + ",'" + Item.HRemark + "'" + - "," + Item.HSourceInterID.ToString() + "," + Item.HSourceEntryID.ToString() + ",'" + Item.HSourceBillNo + "','" + Item.HSourceBillType + "'," + Item.HRelationQty.ToString() + "," + Item.HRelationMoney.ToString() + "," + Item.HMaintainItem.ToString() + - ") "); + "," + Item.HSourceInterID.ToString() + "," + Item.HSourceEntryID.ToString() + ",'" + Item.HSourceBillNo + "','" + Item.HSourceBillType + "'," + Item.HRelationQty.ToString() + "," + Item.HRelationMoney.ToString() + ",'" + Item.HMaintainItem.ToString() + + "') "); } // //foreach (Model.ClsSc_MouldMaintainPlanBillSub oSub in DetailColl) diff --git a/WebAPI/Controllers/MJGL/Sc_MouldDotCheckRuleBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldDotCheckRuleBillController.cs index 908f915..d83a49a 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldDotCheckRuleBillController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldDotCheckRuleBillController.cs @@ -146,7 +146,7 @@ item.HSourceInterID = 0; // 婧愬崟涓诲唴鐮� item.HSourceEntryID = 0; //婧愬崟瀛愬唴鐮� item.HRelationQty = 0; //鍏宠仈鏁伴噺 - oBill.DetailCol.Add(item); + oBill.DetailColl.Add(item); } -- Gitblit v1.9.1