示例#1
0
 /// <summary>
 /// 根据厂商名称、编号等信息检索出符合要求的,厂商信息。如未输入任何有意义信息,则查询出所有厂商信息
 /// </summary>
 /// <returns></returns>
 public BaseResponse <BearingFactoryResult> GetFactorys(GetFactoriesParameter param)
 {
     if (this.ValidateData <GetFactoriesParameter>(param))
     {
         return(utilityManager.GetFactorys(param));
     }
     else
     {
         BaseResponse <BearingFactoryResult> result = new BaseResponse <BearingFactoryResult>();
         result.IsSuccessful = false;
         result.Code         = "001441";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }