chenhaozhe
2026-02-28 6d9b1d5335e05212e3662f7f9d83fe5d03123888
WebAPI/Controllers/JHGL/Gy_MaterialTechParamBillController.cs
@@ -268,7 +268,7 @@
                List<DataTable> tableList = new List<DataTable>();
                //查看权限
                if (!DBUtility.ClsPub.Security_Log("Gy_MaterialTechParamBillMain_Edit", 1, false, User))
                if (!DBUtility.ClsPub.Security_Log("Gy_MaterialTechParamBillMain_Query", 1, false, User))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -716,7 +716,7 @@
        }
        #endregion
        #region 安灯逐级呼叫规则  作废/反作废
        #region 产品工艺参数清单列表  作废/反作废
        /// <summary>
        /// </summary>
        /// <param name="HInterID">单据ID</param>
@@ -1380,5 +1380,52 @@
        #endregion
        #endregion
        #region 产品工艺参数清单 更新相同物料+模具的上下标准 值  产生一个新版本,老的作废
        [Route("Gy_MaterialTechParamBill/SaveGy_MaterialTechParamBill_Update")]
        [HttpGet]
        public object SaveGy_MaterialTechParamBill_Update(string HInterID, string User)
        {
            try
            {
                List<DataTable> tableList = new List<DataTable>();
                //查看权限
                if (!DBUtility.ClsPub.Security_Log("Gy_MaterialTechParamBillMain_Edit", 1, false, User))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无更新权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                if (HInterID == null || HInterID.Equals(""))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "HInterID不能为空!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ds = oCN.RunProcReturn("exec h_p_Gy_MaterialTechParamBillMain_Insert  '"+HInterID+"','"+User+"' ", "h_p_Gy_MaterialTechParamBillMain_Insert");
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "更新成功";
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}