From 2e37cf5b21c78cd0d7677310f173f4163e25c92e Mon Sep 17 00:00:00 2001 From: chendaofei <857448963@qq.com> Date: Wed, 20 Nov 2024 13:59:31 +0800 Subject: [PATCH] =?UTF-8?q?1.pms=E4=B8=93=E9=A1=B9=E5=88=86=E6=9E=90?= =?UTF-8?q?=E7=AE=97=E6=B3=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mysql/newalgorithm/impl/RMpInfluenceMServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pqs-prepare/prepare-boot/src/main/java/com/njcn/prepare/harmonic/service/mysql/newalgorithm/impl/RMpInfluenceMServiceImpl.java b/pqs-prepare/prepare-boot/src/main/java/com/njcn/prepare/harmonic/service/mysql/newalgorithm/impl/RMpInfluenceMServiceImpl.java index 986454ce1..2d517e313 100644 --- a/pqs-prepare/prepare-boot/src/main/java/com/njcn/prepare/harmonic/service/mysql/newalgorithm/impl/RMpInfluenceMServiceImpl.java +++ b/pqs-prepare/prepare-boot/src/main/java/com/njcn/prepare/harmonic/service/mysql/newalgorithm/impl/RMpInfluenceMServiceImpl.java @@ -116,7 +116,7 @@ public class RMpInfluenceMServiceImpl extends MppServiceImpl rStatDataVDPOS = dataVDPOList.stream().filter(x -> lineIds.contains(x.getLineId())).collect(Collectors.toList()); //获取负序电流不平衡度 if (CollUtil.isNotEmpty(rStatDataVDPOS)) { - double asDouble = rStatDataVDPOS.stream().filter(x -> x.getVNeg() != null).mapToDouble(RStatDataVDPO::getVNeg).max().getAsDouble(); + double asDouble = rStatDataVDPOS.stream().filter(x -> x.getVNeg() != null).mapToDouble(RStatDataVDPO::getVUnbalance).max().getAsDouble(); rMpInfluenceM.setNegativeSequenceVoltageUnbalance(asDouble); } else { rMpInfluenceM.setNegativeSequenceVoltageUnbalance(0.0);