From 48f585227c46f6f5bb5d83bd1ecd1c1ff7190c47 Mon Sep 17 00:00:00 2001 From: huababa1 <2037205722@qq.com> Date: Fri, 4 Jul 2025 19:24:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91ps=E5=AF=B9?= =?UTF-8?q?=E5=8F=B7=E9=94=99=E5=8F=B7=E5=86=99=E5=85=A5=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8F=98=E6=88=90=E9=97=AE=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/exam/exam/service/ps/PsServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/example/exam/exam/service/ps/PsServiceImpl.java b/src/main/java/com/example/exam/exam/service/ps/PsServiceImpl.java index f27ecf3..9117eb9 100644 --- a/src/main/java/com/example/exam/exam/service/ps/PsServiceImpl.java +++ b/src/main/java/com/example/exam/exam/service/ps/PsServiceImpl.java @@ -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);