From 8c3e80c58712925d4df78d649743cda61c6131d0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 01 八月 2022 16:56:57 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/netty/handle/PackageServerHandler.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java b/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java
index 403643e..ca6e11b 100644
--- a/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java
+++ b/src/main/java/com/zy/core/netty/handle/PackageServerHandler.java
@@ -1,6 +1,5 @@
 package com.zy.core.netty.handle;
 
-import com.core.common.DateUtils;
 import com.zy.asrs.service.impl.MainServiceImpl;
 import com.zy.core.netty.AbstractInboundHandler;
 import com.zy.core.netty.cache.ChannelCache;
@@ -36,7 +35,8 @@
                 String now = "20" + fire3030.getYear() + "-" + fire3030.getMonth() + "-" + fire3030.getDay()
                         + " " + fire3030.getHour() + ":" + fire3030.getMinute() + ":" + fire3030.getSeconds();
 
-                Constant.FIRE_HEARTBEAT.put(fire3030.getNo().toString(), DateUtils.convert(now));
+                ChannelCache.setChannel(String.valueOf(fire3030.getNo()), ctx.channel());
+                Constant.errorMap.remove(fire3030.getNo());
                 break;
             case FIRE_ALARM:
 

--
Gitblit v1.9.1