xlsView -> downloadView 수정

main
이범준 7 months ago
parent 1806099dc6
commit 4973573616

@ -148,7 +148,7 @@ public class Crdn02Controller extends ApplicationController {
for(int i=0; i<cellWidthInfo.size();i++) { for(int i=0; i<cellWidthInfo.size();i++) {
xlsx.workbook().getSheetAt(0).setColumnWidth(i, cellWidthInfo.get(i)*256); xlsx.workbook().getSheetAt(0).setColumnWidth(i, cellWidthInfo.get(i)*256);
} }
return new ModelAndView("xlsView").addObject("download", xlsx.getDownloadable().setFilename("검사자료 목록.xlsx")) return new ModelAndView("downloadView").addObject("download", xlsx.getDownloadable().setFilename("검사자료 목록.xlsx"))
.addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList()); .addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList());
} }

Loading…
Cancel
Save