2021与蓝度共同重构项目,服务端
liuhaonan
2022-08-03 28bf6e5a47b7235d829b5f1021cfbec1cb1811d6
ximon-admin/src/main/java/com/sandu/ximon/admin/service/PoleLightemitService.java
@@ -123,6 +123,23 @@
        return temp;
    }
    /**
     * 熙讯设备列表(用于首页数据统计)
     *
     * @return
     */
    public List<PoleLightemitEntity> listLedOnHome() {
        List<PoleLightemitEntity> poleLightemitEntityList;
        //超管
        if (SecurityUtils.getClientId() == null) {
            poleLightemitEntityList = poleLightemitDao.listLed(null, null, null);
        } else {
            poleLightemitEntityList = poleLightemitDao.listLed(null, SecurityUtils.getUserId(), null);
        }
        return poleLightemitEntityList;
    }
    /**
     * 绑定使用