|
@@ -180,7 +180,7 @@ public class CloudMarkingClientController {
|
|
|
final String tempAnswerDir = systemConfig.getTempDataDir() + "/exam-" + examId;
|
|
|
if (!StringUtils.isNullOrEmpty(sb.toString())) {
|
|
|
String txtFilePath = tempAnswerDir + "/examStudent.txt";
|
|
|
- IOUtil.toFile(txtFilePath.getBytes(Charset.forName("UTF-8")), txtFilePath);
|
|
|
+ IOUtil.toFile(sb.toString().getBytes(Charset.forName("UTF-8")), txtFilePath);
|
|
|
}
|
|
|
|
|
|
}
|