Browse Source

Fix compilation issue

pull/10109/head
Andrii Shvaika 2 years ago
parent
commit
54e9aba8fb
  1. 2
      application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java
  2. 2
      dao/src/main/java/org/thingsboard/server/dao/sql/JpaPartitionedAbstractDao.java

2
application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java

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

2
dao/src/main/java/org/thingsboard/server/dao/sql/JpaPartitionedAbstractDao.java

@ -1,5 +1,5 @@
/**
* Copyright © 2016-2023 The Thingsboard Authors
* Copyright © 2016-2024 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

Loading…
Cancel
Save