vince
2023-12-18 092d4d994a95a9df6775c90401887dfba684e8ee
src/main/java/com/fzzy/gateway/GatewayUtils.java
@@ -42,6 +42,13 @@
        return cacheMapDeviceId.get(deviceId);
    }
    /**
     * 针对一个分机对廒间的情况
     *
     * @param deviceSn
     * @return
     */
    public static GatewayDevice getCacheByDeviceSn(String deviceSn) {
        Collection<GatewayDevice> list = allCacheDevice();
        if (null == list || list.isEmpty()) return null;