| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public void expBtmQTTemplate(List<String> names, HttpServletResponse response) throws PLException, IOException { |
| | | public String expBtmQTTemplate(List<String> names) throws PLException, IOException { |
| | | String defaultTempFolder = LocalFileUtil.getDefaultTempFolder(); |
| | | String vciqtmfFileName = defaultTempFolder + File.separator + "BtmTemplateExp" + new Date().getTime() + ".vciqtf"; |
| | | BtmQTExportData exportData = new BtmQTExportData(); |
| | |
| | | throw new PLException("500",new String[]{"导出流关闭异常!"}); |
| | | } |
| | | } |
| | | ControllerUtil.writeFileToResponse(response,vciqtmfFileName); |
| | | FileUtil.del(defaultTempFolder + File.separator); |
| | | //ControllerUtil.writeFileToResponse(response,vciqtmfFileName); |
| | | //FileUtil.del(defaultTempFolder + File.separator); |
| | | return vciqtmfFileName; |
| | | } |
| | | |
| | | /** |