diff --git a/src/main/java/com/bamdoliro/maru/application/form/ExportFirstRoundResultUseCase.java b/src/main/java/com/bamdoliro/maru/application/form/ExportFirstRoundResultUseCase.java index d82323c4..b38c3c21 100644 --- a/src/main/java/com/bamdoliro/maru/application/form/ExportFirstRoundResultUseCase.java +++ b/src/main/java/com/bamdoliro/maru/application/form/ExportFirstRoundResultUseCase.java @@ -85,7 +85,7 @@ public Resource execute() throws IOException { schoolCell.setCellStyle(defaultCellStyle); Cell schoolCodeCell = row.createCell(10); - schoolCodeCell.setCellValue(Integer.parseInt(form.getEducation().getSchool().getCode())); + schoolCodeCell.setCellValue(form.getEducation().getSchool().getCode()); schoolCodeCell.setCellStyle(defaultCellStyle); Cell subjectGradeScoreCell = row.createCell(11); diff --git a/src/main/java/com/bamdoliro/maru/application/form/ExportResultUseCase.java b/src/main/java/com/bamdoliro/maru/application/form/ExportResultUseCase.java index b6b73d70..a0993567 100644 --- a/src/main/java/com/bamdoliro/maru/application/form/ExportResultUseCase.java +++ b/src/main/java/com/bamdoliro/maru/application/form/ExportResultUseCase.java @@ -77,7 +77,7 @@ public Resource execute() throws IOException { schoolCell.setCellStyle(defaultCellStyle); Cell schoolCodeCell = row.createCell(10); - schoolCodeCell.setCellValue(Integer.parseInt(form.getEducation().getSchool().getCode())); + schoolCodeCell.setCellValue(form.getEducation().getSchool().getCode()); schoolCodeCell.setCellStyle(defaultCellStyle); Cell subjectGradeScoreCell = row.createCell(11); diff --git a/src/main/java/com/bamdoliro/maru/application/form/ExportSecondRoundResultUseCase.java b/src/main/java/com/bamdoliro/maru/application/form/ExportSecondRoundResultUseCase.java index eaaa6d43..b87e9858 100644 --- a/src/main/java/com/bamdoliro/maru/application/form/ExportSecondRoundResultUseCase.java +++ b/src/main/java/com/bamdoliro/maru/application/form/ExportSecondRoundResultUseCase.java @@ -82,7 +82,7 @@ public Resource execute() throws IOException { schoolCell.setCellStyle(defaultCellStyle); Cell schoolCodeCell = row.createCell(9); - schoolCodeCell.setCellValue(Integer.parseInt(form.getEducation().getSchool().getCode())); + schoolCodeCell.setCellValue(form.getEducation().getSchool().getCode()); schoolCodeCell.setCellStyle(defaultCellStyle); Cell subjectGradeScoreCell = row.createCell(10);