From 73b5d9c4c27b8ca21717c2720f17911cde10e1de Mon Sep 17 00:00:00 2001 From: dlaren Date: Sun, 14 Sep 2025 14:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2PC=E5=89=A9=E4=BD=99=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/autoTools/AutoToolsController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exam-module-judgement/exam-module-judgement-biz/src/main/java/pc/exam/pp/module/judgement/controller/admin/autoTools/AutoToolsController.java b/exam-module-judgement/exam-module-judgement-biz/src/main/java/pc/exam/pp/module/judgement/controller/admin/autoTools/AutoToolsController.java index f0c772b2..64671efb 100644 --- a/exam-module-judgement/exam-module-judgement-biz/src/main/java/pc/exam/pp/module/judgement/controller/admin/autoTools/AutoToolsController.java +++ b/exam-module-judgement/exam-module-judgement-biz/src/main/java/pc/exam/pp/module/judgement/controller/admin/autoTools/AutoToolsController.java @@ -232,7 +232,7 @@ public class AutoToolsController { // 获取一共要考试多长时间 long remainingTime = info.getRemainingTime(); // 判断剩余时间是否大于等于两者相差的时间 - long times = remainingTime - secondsDifference; + long times = remainingTime - Math.abs(secondsDifference); // 开启ws // 获取上传文件时间 String time = examPaperVo.getEducationPaperParam().getUploadTime();