From 44648729417a911fc1939ea48cda9d06adbef367 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 18 三月 2025 08:56:13 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 DAL/ClsGy_MaterialMouldBillMain.cs |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/DAL/ClsGy_MaterialMouldBillMain.cs b/DAL/ClsGy_MaterialMouldBillMain.cs
index 51bb32b..b50f7b8 100644
--- a/DAL/ClsGy_MaterialMouldBillMain.cs
+++ b/DAL/ClsGy_MaterialMouldBillMain.cs
@@ -71,7 +71,7 @@
                             "" +
                             "" +
                             "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" +
-                            ",HMouldID,HQty,HMouldQty,HRate) " +
+                            ",HMouldID,HQty,HMouldQty,HRate,HMouldType,HMouldPriority,HCubicleQty) " +
                             " values(" +
                             "" + omodel.HInterID.ToString() +
                             "," + oSub.HEntryID.ToString() +
@@ -82,8 +82,11 @@
                             "','" + oSub.HMouldID +
                             "'," + oSub.HQty +
                             "," + oSub.HMouldQty +
-                            ",'" + oSub.HRate +
-                            "')";
+                            ",'" + oSub.HRate + 
+                            "','" + oSub.HMouldType +
+                           "','" + oSub.HMouldPriority +
+                           "'," + oSub.HCubicleQty +
+                           ")";
                     oCn.RunProc(subSql);
                 }
 
@@ -158,7 +161,7 @@
                            "" +
                            "" +
                            "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" +
-                           ",HMouldID,HQty,HMouldQty,HRate) " +
+                           ",HMouldID,HQty,HMouldQty,HRate,HMouldType,HMouldPriority,HCubicleQty) " +
                            " values(" +
                            "" + omodel.HInterID.ToString() +
                            "," + oSub.HEntryID.ToString() +
@@ -170,7 +173,10 @@
                            "'," + oSub.HQty +
                            "," + oSub.HMouldQty +
                            ",'" + oSub.HRate +
-                           "')";
+                           "','" + oSub.HMouldType +
+                           "','" + oSub.HMouldPriority +
+                           "'," + oSub.HCubicleQty +
+                           ")";
                     oCn.RunProc(subSql);
                 }
                 sReturn = "鏂板鍗曟嵁鎴愬姛锛�";

--
Gitblit v1.9.1