From f33bea4c400fbaaabec8ffde7a2b1e00d8cdc9bb Mon Sep 17 00:00:00 2001
From: zhaozhengjie <237651143@qq.com>
Date: 星期三, 28 九月 2022 13:22:29 +0800
Subject: [PATCH] Merge branch 'huacheng_test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into huacheng_test
---
springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/message/AlarmMessage.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/message/AlarmMessage.java b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/message/AlarmMessage.java
index eed16c8..8af1911 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/message/AlarmMessage.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/message/AlarmMessage.java
@@ -30,8 +30,9 @@
if(!stringRedisTemplate.hasKey(comPropertyEquipment.getSerialNo())){
ComPropertyAlarm comPropertyAlarm=new ComPropertyAlarm();
comPropertyAlarm.setCreateTime(DateUtil.date());
+ comPropertyAlarm.setPhone(comPropertyEquipment.getPhone());
comPropertyAlarm.setSerialNo(comPropertyEquipment.getSerialNo());
- comPropertyAlarm.setType(ComPropertyAlarm.type.one);
+ comPropertyAlarm.setType(ComPropertyAlarm.type.time);
comPropertyAlarm.setCommunityId(comPropertyEquipment.getCommunityId());
comPropertyAlarm.setName(comPropertyEquipment.getUsername());
comPropertyAlarm.setStatus(ComPropertyAlarm.status.dcl);
--
Gitblit v1.7.1