Browse Source
Merge pull request #12735 from dskarzh/feature/calculated-fields
Fix typo in CF debug events repository
pull/12743/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
dao/src/main/java/org/thingsboard/server/dao/sql/event/CalculatedFieldDebugEventRepository.java
|
|
|
@ -64,7 +64,7 @@ public interface CalculatedFieldDebugEventRepository extends EventRepository<Cal |
|
|
|
"AND ((:isError = FALSE) OR e.e_error IS NOT NULL) " + |
|
|
|
"AND (:error IS NULL OR e.e_error ILIKE concat('%', :error, '%'))" |
|
|
|
, |
|
|
|
countQuery = "SELECT count(*) FROM rule_node_debug_event e WHERE " + |
|
|
|
countQuery = "SELECT count(*) FROM cf_debug_event e WHERE " + |
|
|
|
"e.tenant_id = :tenantId " + |
|
|
|
"AND e.entity_id = :entityId " + |
|
|
|
"AND (:startTime IS NULL OR e.ts >= :startTime) " + |
|
|
|
|