/// <summary> /// 验证规则,保证轴承库厂商&型号的唯一性 /// </summary> /// <returns></returns> public BaseResponse <bool> CheckFidAndBearingNumUnique(CheckFidAndBearingNumUniqueParameter param) { if (this.ValidateData <CheckFidAndBearingNumUniqueParameter>(param)) { return(utilityManager.CheckFidAndBearingNumUnique(param)); } else { BaseResponse <bool> result = new BaseResponse <bool>(); result.IsSuccessful = false; result.Code = "001521"; LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason)); return(result); } }