【修改】ps对号错号写入文件变成问号
This commit is contained in:
@@ -141,11 +141,11 @@ public class PsServiceImpl implements PsService{
|
||||
|
||||
if (isCorrect) {
|
||||
judgementStr = HtmlAppender.appendHtmlLine(judgementStr, currentPath + "【" + correctValue + "】【✅】");
|
||||
appendToFile(answerLogPath, currentPath + "【" + correctValue + "】【✅】");
|
||||
appendToFile(answerLogPath, currentPath + "【" + correctValue + "】"+"【√】");
|
||||
result.setScore(result.getScore() + Double.parseDouble(item.getRate()));
|
||||
} else {
|
||||
judgementStr = HtmlAppender.appendHtmlLine(judgementStr, currentPath + "【" + correctValue + "】【❌】");
|
||||
appendToFile(answerLogPath, currentPath + "【" + correctValue + "】【❌】");
|
||||
judgementStr = HtmlAppender.appendHtmlLine(judgementStr, currentPath + "【" + correctValue + "】"+"【❌】");
|
||||
appendToFile(answerLogPath, currentPath + "【" + correctValue + "】"+"【×】");
|
||||
}
|
||||
|
||||
result.setText(judgementStr);
|
||||
|
Reference in New Issue
Block a user