From bd76b282500a2f36d1809f91c4407873c758b0f9 Mon Sep 17 00:00:00 2001 From: yxj <1qaz@123> Date: 星期二, 28 十二月 2021 23:23:23 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/BaseSet/Gy_MaterialController.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs index 0c3a0cc..41081e7 100644 --- a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs @@ -594,6 +594,8 @@ int HCaveQty = mainList[0].HCaveQty; int HMouldDotCheckRuleInterID= mainList[0].HMouldDotCheckRuleInterID; int HMouldMaintainRuleInterID= mainList[0].HMouldMaintainRuleInterID; + int HNowSupID = mainList[0].HNowSupID; + int HNowSupTypeID = mainList[0].HNowSupTypeID; @@ -606,7 +608,7 @@ ",HMaterID,HMaterNumber,HMouldType,HUnitID" + ",HOutComDate,HOutComNo,HDeptID,HSupID,HSupNumber" + ",HPrintQty,HMouldStatus,HWhID,HRoutingID,HCaveQty" + - ",HBomID,HVersion,HSPGroupID,HSPID,HDesignLife" + + ",HBomID,HVersion,HSPGroupID,HSPID,HDesignLife,HNowSupID,HNowSupTypeID" + ",HUseLife,HLeaveLife,HProdQty,HProdWeight,HMouldOWNER,HSaveLife,HMouldDotCheckRuleInterID,HMouldMaintainRuleInterID" + ") " + " values('" + BillType + "','" + BillType + "'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" + @@ -616,7 +618,7 @@ "," + HMaterID + ",'" + HMaterNumber + "'," + HMouleTypeID + "," + HUnitID + ",'" + HOutComDate + "','" + HOutComNo + "'," + HDeptID + "," + HSupID + ",'" + HSupNumber + "'" + "," + HPrintQty + ",'" + HMouldStatus + "'," + HWHID + "," + HRoutingID +","+ HCaveQty+ - "," + HBOMID + ",'" + HVersion + "'," + HSPGroupID + "," + HSPID + ",'" + HDesignLife + "'" + + "," + HBOMID + ",'" + HVersion + "'," + HSPGroupID + "," + HSPID + ",'" + HDesignLife + "','" + HNowSupID+"','"+ HNowSupTypeID+"'"+ ",'" + HUseLife + "','" + HLeaveLife + "','" + HProdQty + "','" + HProdWeight + "','" + HMouldOWNER + "','" + HSaveLife + "','" + HMouldDotCheckRuleInterID+"','"+ HMouldMaintainRuleInterID+"'"+ ") "); @@ -732,7 +734,8 @@ int HCaveQty = mainList[0].HCaveQty; int HMouldDotCheckRuleInterID = mainList[0].HMouldDotCheckRuleInterID; int HMouldMaintainRuleInterID = mainList[0].HMouldMaintainRuleInterID; - + int HNowSupID = mainList[0].HNowSupID; + int HNowSupTypeID = mainList[0].HNowSupTypeID; //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� oCN.BeginTran(); @@ -781,6 +784,8 @@ ",HMouldDotCheckRuleInterID="+ HMouldDotCheckRuleInterID.ToString()+ ",HMouldMaintainRuleInterID=" + HMouldMaintainRuleInterID.ToString() + ",HMouldOWNER='" + HMouldOWNER + "'" + + ",HNowSupID="+HNowSupID.ToString()+ + ",HNowSupTypeID="+HNowSupTypeID.ToString()+ ",HProdWeight=" + HProdWeight.ToString() + " where HInterID=" + HInterID.ToString()); -- Gitblit v1.9.1