Merge branch 'master' of https://gitea.mjm-staging.developers-homelab.net/BIMS/BIMS
This commit is contained in:
commit
60d921b454
@ -581,8 +581,8 @@ namespace FrontendWebApi.ApiControllers
|
||||
LENGTH(SUBSTRING_INDEX(errmsg, '_', -1) -1) -- 最後一段的長度
|
||||
-1 -- 減掉最後的 _ ex:D3_B_B1F_CO_
|
||||
) device_tag
|
||||
FROM alarmorion_orionalarmrecord a
|
||||
JOIN alarmorion_orionalarmfacetvalue b on a.id = b.alarm
|
||||
FROM alarmOrion_OrionAlarmRecord a
|
||||
JOIN alarmOrion_OrionAlarmFacetValue b on a.id = b.alarm
|
||||
WHERE a.sourceState = 1 and b.facetName = 9
|
||||
) a
|
||||
left join device b on a.device_tag = b.device_number AND b.deleted = 0
|
||||
|
Loading…
Reference in New Issue
Block a user