/// <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));
 }
Example #2
0
        /// <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);
        }
Example #3
0
        /// <summary>
        /// 保存RMA信息
        /// </summary>
        /// <param name="categoryBasicInfo"></param>
        /// <returns></returns>
        public CategoryRMA UpdateCategoryRMA(CategoryRMA categoryBasicInfo)
        {
            var result = ObjectFactory <CategorySettingProcessor> .Instance.UpdateCategoryRMA(categoryBasicInfo);

            return(result);
        }