[後端] 修改table問題, db新增table
This commit is contained in:
parent
c1a05f2207
commit
ba6fc268f0
@ -581,8 +581,8 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
LENGTH(SUBSTRING_INDEX(errmsg, '_', -1) -1) -- 最後一段的長度
|
LENGTH(SUBSTRING_INDEX(errmsg, '_', -1) -1) -- 最後一段的長度
|
||||||
-1 -- 減掉最後的 _ ex:D3_B_B1F_CO_
|
-1 -- 減掉最後的 _ ex:D3_B_B1F_CO_
|
||||||
) device_tag
|
) device_tag
|
||||||
FROM alarmorion_orionalarmrecord a
|
FROM alarmOrion_OrionAlarmRecord a
|
||||||
JOIN alarmorion_orionalarmfacetvalue b on a.id = b.alarm
|
JOIN alarmOrion_OrionAlarmFacetValue b on a.id = b.alarm
|
||||||
WHERE a.sourceState = 1 and b.facetName = 9
|
WHERE a.sourceState = 1 and b.facetName = 9
|
||||||
) a
|
) a
|
||||||
left join device b on a.device_tag = b.device_number AND b.deleted = 0
|
left join device b on a.device_tag = b.device_number AND b.deleted = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user