public static void writePdf(byte[] pdfBytes, String absolutePath) throws Exception {
		// 1、参数检查
		if (pdfBytes == null || absolutePath == null || "".equals(absolutePath.trim())) {
			throw new Exception("非法参数异常，请检查并确保入口参数不能为空或null！");
		}

		File file = new File(absolutePath);
		if (!file.getParentFile().exists()) {
			file.getParentFile().mkdirs();
		}
		OutputStream os = null;
		try {
			os = new FileOutputStream(file);
			os.write(pdfBytes);
		} finally {
			if (os != null) {
				os.close();
			}
		}
	}