导出班级学员成绩

This commit is contained in:
wuchunlei
2025-05-06 14:18:40 +08:00
parent dab1ae8202
commit 0aa9a06080

View File

@@ -429,11 +429,11 @@ public class ClassController {
row.createCell(0).setCellValue(user.getName());
row.createCell(1).setCellValue(user.getTel());
row.createCell(2).setCellValue(user.getEmail());
row.createCell(3).setCellValue(map.get("task0Score").toString());
row.createCell(4).setCellValue(map.get("task1Score").toString());
row.createCell(5).setCellValue(map.get("experienceScore").toString());
row.createCell(6).setCellValue(map.get("questionScore").toString());
row.createCell(7).setCellValue(map.get("examScore").toString());
row.createCell(3).setCellValue(map.containsKey("task0Score")?map.get("task0Score").toString():"0");
row.createCell(4).setCellValue(map.containsKey("task1Score")?map.get("task1Score").toString():"0");
row.createCell(5).setCellValue(map.containsKey("experienceScore")?map.get("experienceScore").toString():"0");
row.createCell(6).setCellValue(map.containsKey("questionScore")?map.get("questionScore").toString():"0");
row.createCell(7).setCellValue(map.containsKey("examScore")?map.get("examScore").toString():"0");
row.createCell(8).setCellValue(map.get("userScore").toString());
//序号自增
cell++;