施工大屏

This commit is contained in:
cwchen 2024-04-03 09:28:37 +08:00
parent eb0a58f81d
commit 2aa25a03b6
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
select bdd.device_name deviceName,tdd.mode_name modelName,
tdv.val,tdv.is_warn isWarn,tdv.create_time createTime,sd.dict_name deviceType
from tb_pro_bd bd
INNER join tb_bd_device bdd on bdd.bd_id=bd.id and bdd.del_flage=0
INNER join tb_bd_device bdd on bdd.bd_id=bd.id and bdd.del_flag=0
LEFT JOIN sys_dict sd on sd.dict_code=bdd.devic_type
left join tb_device_detail tdd on tdd.device_id=bdd.device_id and tdd.del_flag=0
left join tb_device_value tdv on tdd.id=tdv.attribute_id