getting device and fulltag from the database in active alarms, but not showing in the table. using them to find the highlight the component

This commit is contained in:
guga kakhadze 2025-06-26 17:29:58 +04:00
parent 1b4dfeffe2
commit 729a1b6cda

View File

@ -53,7 +53,9 @@ SELECT
'.HMI.',
SUBSTRING_INDEX(aed.strValue, '/', -1)
) AS Tag,
SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue, '/', 2), '/', -1) AS Location
SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue, '/', 2), '/', -1) AS Location ,
aed.strValue AS FullTag,
Active.displaypath as Device
FROM Active
LEFT JOIN SingleMyTag aed
ON aed.id = Active.id