feat(sj_1.0.0): 修复告警问题
This commit is contained in:
parent
33fef492e2
commit
ef5c2fd953
@ -47,7 +47,7 @@ import java.util.stream.Collectors;
|
|||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public abstract class AbstractAlarm<E extends ApplicationEvent, A extends AlarmInfo> implements ApplicationListener<E>,
|
public abstract class AbstractAlarm<E extends ApplicationEvent, A extends AlarmInfo> implements
|
||||||
Runnable,
|
Runnable,
|
||||||
Lifecycle {
|
Lifecycle {
|
||||||
|
|
||||||
@ -223,7 +223,6 @@ public abstract class AbstractAlarm<E extends ApplicationEvent, A extends AlarmI
|
|||||||
|
|
||||||
protected abstract int getNotifyScene();
|
protected abstract int getNotifyScene();
|
||||||
|
|
||||||
@Override
|
|
||||||
@TransactionalEventListener(fallbackExecution = true, phase = TransactionPhase.AFTER_COMPLETION)
|
@TransactionalEventListener(fallbackExecution = true, phase = TransactionPhase.AFTER_COMPLETION)
|
||||||
public void onApplicationEvent(@NotNull E event) {
|
public void onApplicationEvent(@NotNull E event) {
|
||||||
doOnApplicationEvent(event);
|
doOnApplicationEvent(event);
|
||||||
|
Loading…
Reference in New Issue
Block a user