边代设备查询

This commit is contained in:
jjLv 2024-09-27 15:56:32 +08:00
parent b2900fbe11
commit 601f69adb7
1 changed files with 1 additions and 0 deletions

View File

@ -367,6 +367,7 @@
ELSE '' ELSE ''
END AS devStatusName END AS devStatusName
from tb_bd_device_record tbdr from tb_bd_device_record tbdr
left join tb_project tp ON tbdr.pro_id = tp.id
left join tb_bd_record tbr on tbdr.record_id = tbr.id and tbr.del_flag = 0 left join tb_bd_record tbr on tbdr.record_id = tbr.id and tbr.del_flag = 0
where tbr.audit_status = 1 and tp.del_flag = 0 where tbr.audit_status = 1 and tp.del_flag = 0
<if test="devName != null and devName != ''"> <if test="devName != null and devName != ''">