From 152af7ec90d3ee6537d4633755f09e620bd56061 Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Wed, 25 Feb 2026 14:35:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(stream-proxy):=20=E4=BF=AE=E5=A4=8Dint?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=AF=94=E8=BE=83=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8!=3D=E6=9B=BF=E4=BB=A3equals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vmp/streamProxy/service/impl/StreamProxyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyServiceImpl.java index c36daf78c..e62ad0127 100755 --- a/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyServiceImpl.java @@ -241,7 +241,7 @@ public class StreamProxyServiceImpl implements IStreamProxyService { !streamProxyInDb.getStream().equals(streamProxy.getStream())) { StreamProxy duplicate = streamProxyMapper.selectOneByAppAndStream( streamProxy.getApp(), streamProxy.getStream()); - if (duplicate != null && !duplicate.getId().equals(streamProxy.getId())) { + if (duplicate != null && duplicate.getId() != streamProxy.getId()) { throw new ControllerException(ErrorCode.ERROR100.getCode(), "应用名 [" + streamProxy.getApp() + "] 下的流ID [" + streamProxy.getStream() + "] 已存在"); }