public StuCertificate GetByNumber(string number) { //参数验证 if (string.IsNullOrEmpty(number)) { ErrorMsg = ErrorCode.ParameterNull; return(null); } return(_certificateProvider.GetStuByNumber(number)); }