Ejemplo n.º 1
0
 /// <summary>
 /// 修改轴承库厂商
 /// </summary>
 /// <returns></returns>
 public BaseResponse <bool> FactoryUpdate(UpdateFactoryParameter param)
 {
     if (this.ValidateData <UpdateFactoryParameter>(param))
     {
         return(utilityManager.FactoryUpdate(param));
     }
     else
     {
         BaseResponse <bool> result = new BaseResponse <bool>();
         result.IsSuccessful = false;
         result.Code         = "001491";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }