‘liusuyi’
2023-06-30 9b4b385d1a4d34ef6ba3fa586c1e3c2c5fcb12c1
ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/AlarmTask.java
@@ -39,9 +39,9 @@
     */
    public void globalAlarmCountPush() {
        IGlobalAlarmService globalAlarmService = SpringUtils.getBean(IGlobalAlarmService.class);
        Map<String, Integer> stringIntegerMap = globalAlarmService.selectAlarmLogsCount();
        Map<String, Object> stringIntegerMap = globalAlarmService.selectAlarmLogsCount();
        if (ONLINE_USER_SESSIONS.size() > 0) {
                WebSocketUtils.sendMessageAll(stringIntegerMap);
        }
    }
}
}