Przeglądaj źródła

调整全量获取报警定义为分页获取

dongpeng 2 lat temu
rodzic
commit
6d911d79e4

+ 1 - 1
src/main/java/com/persagy/dmp/starter/alarm/communication/netty/NettyAlarmMsgBaseHandler.java

@@ -159,7 +159,7 @@ public class NettyAlarmMsgBaseHandler extends ChannelInboundHandlerAdapter {
             data.remove("onlyCount");
             alarmConfigs = nettyAlarmService.queryAlarmConfig(data);
         }
-        log.info("===========>报警定义信息获取完成!共{}条!", alarmConfigs);
+        log.info("===========>报警定义信息获取完成!共{}条!", alarmConfigs.size());
         if (alarmConfigs == null || alarmConfigs.size() <= 0) {
             return;
         }