feat: 注释掉登录验证

This commit is contained in:
super_liu
2021-06-04 00:02:26 +08:00
parent b50da1e1fa
commit 6bd02d963b
4 changed files with 82 additions and 40 deletions
@@ -180,5 +180,33 @@ public class SarStandardsInfoController extends BaseController<SarStandardsInfo>
}
}
// @ApiOperation(value = "|SysCorpEO|导出excel")
// @GetMapping(value = "/exportStandardsInfoExcel")
// public void exportStandardsInfoExcel(StandardsInfoExcelVO standardsInfoExcelVO,HttpServletResponse response,
// HttpServletRequest request) throws Exception {
// OutputStream os = null;
// Workbook workbook = null;
// try {
// if(StringUtils.isEmpty(standardsInfoExcelVO.getExportName())||standardsInfoExcelVO.getExportName().equals("null")){
// standardsInfoExcelVO.setExportName("标准法规信息");
// }
// response.setHeader("Content-Disposition",
// "attachment; filename=" + ReadExcel.encodeFileName(standardsInfoExcelVO.getExportName()+".xlsx",
// request));
// response.setContentType("application/force-download");
// // 导出所有数据
// List<SarStandardsInfo> datas = sarStandardsInfoEOService.getExportDatas(standardsInfoExcelVO);
// workbook = StandExportUtil.exportDatas(datas,standardsInfoExcelVO.getStandType());
// os = response.getOutputStream();
// workbook.write(os);
// os.flush();
// } catch (IOException e) {
// logger.error(e.getMessage(), e);
// throw new AdcDaBaseException("下载文件失败,请重试");
// } finally {
// IOUtils.closeQuietly(os);
// }
// }
}