public bool AddOffice(string officeNo, bool impower, string companyId) { try { CompanyService.AddOfficeNumber(RequestGuid(companyId), officeNo.ToUpper(), impower, this.CurrentUser.UserName); return(true); } catch (DbException) { throw new Exception("保存失败!"); } }