From ccb7bafda12f8ab589103e478ea429c73a3255b8 Mon Sep 17 00:00:00 2001 From: wr <1754607820@qq.com> Date: Mon, 13 Jan 2025 08:38:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gather/detection/handler/SocketDevResponseService.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/detection/src/main/java/com/njcn/gather/detection/handler/SocketDevResponseService.java b/detection/src/main/java/com/njcn/gather/detection/handler/SocketDevResponseService.java index 7876369a..460f02fa 100644 --- a/detection/src/main/java/com/njcn/gather/detection/handler/SocketDevResponseService.java +++ b/detection/src/main/java/com/njcn/gather/detection/handler/SocketDevResponseService.java @@ -694,7 +694,7 @@ public class SocketDevResponseService { socketMsg.setRequestId(SourceOperateCodeEnum.FORMAL_REAL.getValue() + stepTag + sourceIssues.get(0).getType()); SocketManager.sendMsg(param.getUserPageId() + handlerSourceStr, JSON.toJSONString(socketMsg)); - } else if (SourceOperateCodeEnum.PRE_TEST.getValue().equals(param.getOperateType())) { + } else if (SourceOperateCodeEnum.PRE_TEST.getValue().equals(param.getOperateType())||SourceOperateCodeEnum.COEFFICIENT_TEST.getValue().equals(param.getOperateType())) { //预检测的相序检测 以及系数校验都需要进行相序检测 issueParam.setIsPhaseSequence(SourceOperateCodeEnum.PHASE_TEST.getValue()); sourceIssues = pqScriptDtlsService.listSourceIssue(issueParam); @@ -1359,8 +1359,6 @@ public class SocketDevResponseService { ZonedDateTime zonedDateTime = ZonedDateTime.parse(dateTimeStr, formatter.withZone(ZoneId.of("UTC"))); // 将ZonedDateTime转换为LocalDateTime(去除时区信息) LocalDateTime localDateTime = zonedDateTime.toLocalDateTime(); - System.out.println("LocalDateTime: " + localDateTime); - return localDateTime; } catch (DateTimeParseException e) { System.err.println("日期时间字符串格式错误: " + e.getMessage());