diff --git a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java index 7d5b69c1..df63850a 100644 --- a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java +++ b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java @@ -173,8 +173,10 @@ public class DeviceMessageHandler { String directio; if (Objects.equals(direction, UniversalEnum.ONE.getValue())) { directio = UniversalEnum.DIRECTION_OF_HEZE.getValue(); + direction=UniversalEnum.DIRECTION_OF_HEZE.getValue(); } else { directio = UniversalEnum.DIRECTION_OF_JINAN.getValue(); + direction = UniversalEnum.DIRECTION_OF_JINAN.getValue(); } DcWarning dcWarning = new DcWarning();