|
|
|
@ -148,7 +148,7 @@ public class Crdn02Controller extends ApplicationController {
|
|
|
|
|
for(int i=0; i<cellWidthInfo.size();i++) {
|
|
|
|
|
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());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|