施工大屏
This commit is contained in:
parent
eb0a58f81d
commit
2aa25a03b6
|
|
@ -12,7 +12,7 @@
|
||||||
select bdd.device_name deviceName,tdd.mode_name modelName,
|
select bdd.device_name deviceName,tdd.mode_name modelName,
|
||||||
tdv.val,tdv.is_warn isWarn,tdv.create_time createTime,sd.dict_name deviceType
|
tdv.val,tdv.is_warn isWarn,tdv.create_time createTime,sd.dict_name deviceType
|
||||||
from tb_pro_bd bd
|
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 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_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
|
left join tb_device_value tdv on tdd.id=tdv.attribute_id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue