feat: 注释掉登录验证
This commit is contained in:
+28
@@ -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);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user