Browse Source

调整:调整告警消息推送顺序

zhongwei
ty 4 months ago
parent
commit
fc37745154
  1. 5
      hzims-service-api/target/classes/META-INF/build-info.properties
  2. 10
      hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/monitor/listener/AlarmListener.java
  3. 5
      target/classes/META-INF/build-info.properties

5
hzims-service-api/target/classes/META-INF/build-info.properties

@ -1,5 +0,0 @@
build.artifact=hzims-service-api
build.group=com.hnac.hzims
build.name=hzims-service-api
build.time=2024-07-22T06\:45\:56.469Z
build.version=4.0.0-SNAPSHOT

10
hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/monitor/listener/AlarmListener.java

@ -39,14 +39,14 @@ public class AlarmListener implements IQueueConsume {
messageService.webAppMessage(alarm);
}
// 步骤3.短信推送
if(ObjectUtil.isNotEmpty(alarm.getIsShortMessage()) && alarm.getIsShortMessage() == 0){
messageService.shortMessage(alarm);
}
// 步骤4.微信公众号发送
if(ObjectUtil.isNotEmpty(alarm.getIsWxMessage()) && alarm.getIsWxMessage() == 0){
messageService.weChatMessage(alarm);
}
// 步骤3.短信推送
if(ObjectUtil.isNotEmpty(alarm.getIsShortMessage()) && alarm.getIsShortMessage() == 0){
messageService.shortMessage(alarm);
}
}
}

5
target/classes/META-INF/build-info.properties

@ -1,5 +0,0 @@
build.artifact=hzims-back
build.group=com.hnac.hzims
build.name=hzims-back
build.time=2024-07-22T06\:45\:56.469Z
build.version=4.0.0-SNAPSHOT
Loading…
Cancel
Save