[後端] 修改判斷值

This commit is contained in:
dev02 2023-11-01 14:22:45 +08:00
parent 12b1a14319
commit 8b693b60b4

View File

@ -632,7 +632,7 @@ namespace Backend.Controllers
FROM device_item di
JOIN variable sv ON di.device_name_tag = sv.system_value
JOIN variable mv ON sv.system_parent_id = mv.id AND di.device_system_tag = mv.system_value
WHERE sv.id = 35 and di.deleted = 0 and di.is_link = 1
WHERE sv.id = @id and di.deleted = 0 and di.is_link = 1
group by di.full_name, di.points, di.unit, di.is_show, di.is_show_riserDiagram, di.is_controll, di.is_bool, di.is_link, di.is_show_history, di.device_system_tag, di.device_name_tag";
object param = new { Deleted = 0, id = id, building_tag = building_tag.Split("/")[1] };