From 747da7d4ad824a5c4a0b93be7d32f353ed748bc7 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期二, 07 十二月 2021 09:15:27 +0800
Subject: [PATCH] nothing

---
 WebAPI/Controllers/BaseSet/Gy_MaterialController.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
index e15478b..515fc32 100644
--- a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs
@@ -591,6 +591,7 @@
                 long HPrintQty = mainList[0].HPrintQty;
                 string HMouldOWNER = mainList[0].HMouldOWNER;
                 string HSaveLife = mainList[0].HSaveLife;
+                int HCaveQty = mainList[0].HCaveQty;
                 int HMouldDotCheckRuleInterID= mainList[0].HMouldDotCheckRuleInterID;
                 int HMouldMaintainRuleInterID= mainList[0].HMouldMaintainRuleInterID;
 
@@ -604,7 +605,7 @@
                 ",HSubjoin,HSubjoin2,HPICNo,HWorkMaterModel" +
                 ",HMaterID,HMaterNumber,HMouldType,HUnitID" +
                 ",HOutComDate,HOutComNo,HDeptID,HSupID,HSupNumber" +
-                ",HPrintQty,HMouldStatus,HWhID,HRoutingID" +
+                ",HPrintQty,HMouldStatus,HWhID,HRoutingID,HCaveQty" +
                 ",HBomID,HVersion,HSPGroupID,HSPID,HDesignLife" +
                 ",HUseLife,HLeaveLife,HProdQty,HProdWeight,HMouldOWNER,HSaveLife,HMouldDotCheckRuleInterID,HMouldMaintainRuleInterID" +
                 ") " +
@@ -614,7 +615,7 @@
                 ",'" + HSubjoin + "','" + HSubjoin2 + "','" + HPICNo + "','" + HWorkMaterModel + "'" +
                 "," + HMaterID + ",'" + HMaterNumber + "'," + HMouleTypeID + "," + HUnitID +
                 ",'" + HOutComDate + "','" + HOutComNo + "'," + HDeptID + "," + HSupID + ",'" + HSupNumber + "'" +
-                "," + HPrintQty + ",'" + HMouldStatus + "'," + HWHID + "," + HRoutingID +
+                "," + HPrintQty + ",'" + HMouldStatus + "'," + HWHID + "," + HRoutingID +","+ HCaveQty+
                 "," + HBOMID + ",'" + HVersion + "'," + HSPGroupID + "," + HSPID + ",'" + HDesignLife + "'" +
                 ",'" + HUseLife + "','" + HLeaveLife + "','" + HProdQty + "','" + HProdWeight + "','" + HMouldOWNER + "','" + HSaveLife + "','" + HMouldDotCheckRuleInterID+"','"+ HMouldMaintainRuleInterID+"'"+
                 ") ");
@@ -728,6 +729,7 @@
                 long HPrintQty = mainList[0].HPrintQty;
                 string HMouldOWNER = mainList[0].HMouldOWNER;
                 string HSaveLife = mainList[0].HSaveLife;
+                int HCaveQty = mainList[0].HCaveQty;
                 int HMouldDotCheckRuleInterID = mainList[0].HMouldDotCheckRuleInterID;
                 int HMouldMaintainRuleInterID = mainList[0].HMouldMaintainRuleInterID;
 
@@ -772,6 +774,7 @@
                 ",HSPGroupID=" + HSPGroupID.ToString() +
                 ",HSPID=" + HSPID.ToString() +
                 ",HDesignLife=" + HDesignLife.ToString() +
+                ",HCaveQty="+ HCaveQty.ToString()+
                 ",HUseLife=" + HUseLife.ToString() +
                 ",HLeaveLife=" + HLeaveLife.ToString() +
                 ",HProdQty=" + HProdQty.ToString() +
@@ -912,7 +915,7 @@
                 ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
                 ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" +
                 ") " +
-                " values('3801','3801'," + HInterID + ",'" + HBillNo + "',' getdate()'" +
+                " values('3801','3801'," + HInterID + ",'" + HBillNo + "',getdate()" +
                 ", '" + user + "',getdate()" +
                 ", " + dr["HSupID"].ToString() + ", 1," + dr["HWhID"].ToString() + ",0,0,0,0" +
                 ", 0," + dr["HDeptID"].ToString() +  ",' ',0"  +

--
Gitblit v1.9.1