修改导出

This commit is contained in:
sunxiqing 2025-01-04 13:49:48 +08:00
parent 041d979730
commit 632f68f8f6

View File

@ -76,11 +76,12 @@ public class DatasetQuestionController {
HSSFCellStyle cellStyle = template.createCellStyle();
cellStyle.setVerticalAlignment(VerticalAlignment.CENTER);
int count = 0;
List<Integer> id = new ArrayList<>();
HSSFRow row = sheet.createRow(count);
row.createCell(0).setCellValue("问题内容");
row.createCell(1).setCellValue("标注内容");
id.add(count);
count++;
List<Integer> id = new ArrayList<>();
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
List<DatasetQuestionRespVO> list = datasetQuestionService.getDatasetQuestionPage(pageReqVO).getList();
for (DatasetQuestionRespVO item : list){