/**
  * 下载附件
  *
  * @return
  * @throws Exception
  */
 public void download() throws Exception {
   String attachId = getRequest().getParameter("attachId");
   String fileName = attachmentManager.getById(attachId).getFileName();
   String filePath = attachmentManager.getById(attachId).getFilePath();
   // 文件路径
   // String folderPath = getRequest().getSession().getServletContext().getRealPath("/upload")
   // +File.separator+ "inform" ;
   FileUtil.downLoad(filePath, fileName, getResponse(), false); // false为下载,true为在线打开,此处是下载所以是false
 }