From 87af5a2fe700262234b2f660db6c26ba49d1bcf7 Mon Sep 17 00:00:00 2001 From: chenhaozhe <cgz@hz-kingdee.com> Date: 星期二, 19 八月 2025 16:03:15 +0800 Subject: [PATCH] ClsGy_Material_Model 添加 HMaterRuleExternType 字段 Kf_MateOutBill/getMaterialByMaterID 查询语句添加 HMaterRuleExternType 返回值 ClsGy_Material_Ctl 插入语句/更新语句 添加 HMaterRuleExternType 字段 --- WebAPI/DLL/ClsGy_Material_Ctl.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/WebAPI/DLL/ClsGy_Material_Ctl.cs b/WebAPI/DLL/ClsGy_Material_Ctl.cs index 17640f7..34ceb98 100644 --- a/WebAPI/DLL/ClsGy_Material_Ctl.cs +++ b/WebAPI/DLL/ClsGy_Material_Ctl.cs @@ -32,7 +32,7 @@ ",HMaterRuleType,HColorNo,HPieceMaxQty,HCommonUseFlag,HAvgStockPrice,HFootPrice,HTaxCost,HNoTaxCost,HOnceRightRate" + ",HHeight_M,HInches_M,HAl1Long_M,HDensity_M,HTela_M,HUnderTela_M,HSizing_M,HQtyDec,HPriceDec,HMoneyDec,HTaxRate,HProfitRate" + ",HLotcardQty" + - ",HProjectBillMainID,HDivisionID,HCubicleQty,HMakeEmp" + + ",HProjectBillMainID,HDivisionID,HCubicleQty,HMakeEmp,HMaterRuleExternType" + ") " + " Values('" + oModel.HNumber + "','" + oModel.HName + "','" + oModel.HHelpCode + "','" + oModel.HShortNumber + "'," + oModel.HParentID.ToString() + ", " + oModel.HLevel.ToString() + "," + Convert.ToString(oModel.HEndFlag ? 1 : 0) + "," + Convert.ToString(oModel.HStopflag ? 1 : 0) + ",'" + oModel.HRemark + "'" + @@ -60,6 +60,7 @@ "','" + oModel.HDivisionID + "','" + oModel.HCubicleQty + "','" + oModel.HMakeEmp + + "','" + oModel.HMaterRuleExternType + "')", ref DBUtility.ClsPub.sExeReturnInfo); //淇敼涓婄骇涓洪潪鏈骇浠g爜 oCn.RunProc("Update " + MvarItemKey + " set HEndflag=0 where HItemID=" + oModel.HParentID, ref DBUtility.ClsPub.sExeReturnInfo); @@ -233,6 +234,7 @@ ",HDivisionID='" + oModel.HDivisionID + "'" + ",HLotcardQty='" + oModel.HLotcardQty + "'" + ",HCubicleQty='" + oModel.HCubicleQty + "'" + + ",HMaterRuleExternType='" + oModel.HMaterRuleExternType + "'" + " Where HItemID=" + sItemID, ref DBUtility.ClsPub.sExeReturnInfo); //淇敼瀛愰」鐩唬鐮� oCn.RunProc("exec h_p_Gy_UpdateNumber '" + MvarItemKey + "','" + oModel.HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); -- Gitblit v1.9.1