From 9faf4865e9a66029d062be7e34fdcef7cf4f4065 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Thu, 6 Jun 2024 16:36:36 +0800 Subject: [PATCH] =?UTF-8?q?#=E7=AB=99=E7=82=B9=E7=AE=A1=E7=90=86=E3=80=81?= =?UTF-8?q?=E9=9B=86=E4=B8=AD=E7=9B=91=E6=8E=A7=E5=A2=9E=E5=8A=A0=E4=B8=8B?= =?UTF-8?q?=E9=99=90=E6=B0=B4=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java b/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java index 9f7040f..0156355 100644 --- a/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java +++ b/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java @@ -86,7 +86,7 @@ public class MessageServiceImpl implements MessageService { message.setSubject(MessageConstants.BusinessClassifyEnum.WARNING.getDescription()); message.setTaskId(entity.getId()); message.setTenantId(stationByCode.getData().getTenantId()); - message.setContent(entity.getAlarmContext()); + message.setContent(entity.getStationName() + "." +entity.getAlarmContext()); message.setDeptId(dept); R deptName = sysClient.getDeptName(dept); if (deptName.isSuccess()) {