Merge remote-tracking branch 'upstream/master' into removedSupportForUpgrade

This commit is contained in:
dashevchenko 2024-02-01 11:03:27 +02:00
commit 1922e2d17d

View File

@ -113,7 +113,7 @@ public abstract class BaseAlarmProcessor extends BaseEdgeProcessor {
} }
switch (alarmCommentUpdateMsg.getMsgType()) { switch (alarmCommentUpdateMsg.getMsgType()) {
case ENTITY_CREATED_RPC_MESSAGE: case ENTITY_CREATED_RPC_MESSAGE:
alarmCommentDao.createAlarmComment(tenantId, alarmComment); alarmCommentDao.save(tenantId, alarmComment);
break; break;
case ENTITY_UPDATED_RPC_MESSAGE: case ENTITY_UPDATED_RPC_MESSAGE:
alarmCommentService.createOrUpdateAlarmComment(tenantId, alarmComment); alarmCommentService.createOrUpdateAlarmComment(tenantId, alarmComment);