web原始数据导出修改

This commit is contained in:
cwchen 2024-09-28 16:01:22 +08:00
parent d5511a48c0
commit 8550ac32b5
1 changed files with 2 additions and 2 deletions

View File

@ -73,11 +73,11 @@ public class CreateSheetUtil {
} }
public void handleTwoSheetData(XSSFWorkbook workbook, Sheet sheet, TestReportManageDto vo) { public void handleTwoSheetData(XSSFWorkbook workbook, Sheet sheet, TestReportManageDto vo) {
for (Row row : sheet) { /*for (Row row : sheet) {
for (Cell cells : row) { for (Cell cells : row) {
System.err.println(row.getRowNum() + "列:" + cells.getColumnIndex() + "数据:" + cells.getStringCellValue()); System.err.println(row.getRowNum() + "列:" + cells.getColumnIndex() + "数据:" + cells.getStringCellValue());
} }
} }*/
Map<String, String> dataMap = getBasicData(Long.parseLong(vo.getId() + "")); Map<String, String> dataMap = getBasicData(Long.parseLong(vo.getId() + ""));
// 委托单位 // 委托单位
Cell cell = sheet.getRow(8).getCell(2); Cell cell = sheet.getRow(8).getCell(2);