/// <summary> /// 保存RMA指标信息 /// </summary> /// <param name="categoryBasicInfo"></param> /// <returns></returns> public virtual CategoryRMA UpdateCategoryRMA(CategoryRMA categoryBasicInfo) { if (categoryBasicInfo != null) { CheckCategorySettingProcessor.CheckCategorySettingSysNo(categoryBasicInfo.CategorySysNo); } CheckCategorySettingProcessor.CheckCategorySettingInfo(categoryBasicInfo); return(_categoryDA.UpdateCategoryRMA(categoryBasicInfo)); }
/// <summary> /// 保存RMA指标信息 /// </summary> /// <param name="categoryBasicInfo"></param> /// <returns></returns> public CategoryRMA UpdateCategoryRMA(CategoryRMA categoryBasicInfo) { DataCommand cmd = DataCommandManager.GetDataCommand("UpdateCategoryRMA"); cmd.SetParameterValue("@SysNo", categoryBasicInfo.CategorySysNo); cmd.SetParameterValue("@WarrantyDays", categoryBasicInfo.WarrantyDays); cmd.SetParameterValue("@CompanyCode", "8601"); cmd.SetParameterValue("@RMARateStandard", categoryBasicInfo.RMARateStandard); cmd.ExecuteNonQuery(); return(categoryBasicInfo); }
/// <summary> /// 保存RMA信息 /// </summary> /// <param name="categoryBasicInfo"></param> /// <returns></returns> public CategoryRMA UpdateCategoryRMA(CategoryRMA categoryBasicInfo) { var result = ObjectFactory <CategorySettingProcessor> .Instance.UpdateCategoryRMA(categoryBasicInfo); return(result); }