From 85f1f471ff1366a162e0dacab9a660aab3bdfb8a Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期四, 23 九月 2021 09:29:02 +0800
Subject: [PATCH] 一键报警,物业平台相关功能修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServerHandler.java |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServerHandler.java b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServerHandler.java
index 4030931..bdf9219 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServerHandler.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServerHandler.java
@@ -65,20 +65,15 @@
         if (msg.toString().startsWith("4A1803")) {
             String serial = msg.toString().substring(14, 24);
             myTools.writeToClient("404A03" + msg.toString().substring(msg.toString().length() - 2) + "23", ctx, "事件包");
-//            ComPropertyAlarm comPropertyAlarm=new ComPropertyAlarm();
-//            comPropertyAlarm.setCreateTime(DateUtil.date());
-//            comPropertyAlarm.setSerialNo(serial);
-//            comPropertyAlarm.setType(ComPropertyAlarm.type.one);
-//            nettyServerHandler.comPropertyAlarmDao.insert(comPropertyAlarm);
             if (msg.toString().startsWith("4A18031")) {
                 //正式处理
-                // delayAlarm(serial);
+                 delayAlarm(serial);
                 //展会处理
-                ComPropertyAlarm comPropertyAlarm = new ComPropertyAlarm();
-                comPropertyAlarm.setCreateTime(DateUtil.date());
-                comPropertyAlarm.setSerialNo(serial);
-                comPropertyAlarm.setType(ComPropertyAlarm.type.one);
-                nettyServerHandler.comPropertyAlarmDao.insert(comPropertyAlarm);
+//                ComPropertyAlarm comPropertyAlarm = new ComPropertyAlarm();
+//                comPropertyAlarm.setCreateTime(DateUtil.date());
+//                comPropertyAlarm.setSerialNo(serial);
+//                comPropertyAlarm.setType(ComPropertyAlarm.type.one);
+//                nettyServerHandler.comPropertyAlarmDao.insert(comPropertyAlarm);
             }
 
         }

--
Gitblit v1.7.1