0
0

控制中心设备绑定修改

This commit is contained in:
2025-09-22 12:41:54 +08:00
parent 1b33356a2a
commit 8e66f1ca28

View File

@ -239,7 +239,7 @@
where d.device_mac = #{deviceMac}
</select>
<select id="queryWebDeviceList" resultType="com.fuyuanshen.equipment.domain.vo.WebDeviceVo">
select d.id, d.device_name, d.device_name,
select DISTINCT d.id, d.device_name, d.device_name,
d.device_name,
d.device_mac,
d.device_sn,
@ -255,7 +255,7 @@
c.binding_time
from device d
inner join device_type dt on d.device_type = dt.id
inner join app_device_bind_record c on d.id = c.device_id and c.communication_mode = 0
inner join app_device_bind_record c on d.id = c.device_id
left join app_personnel_info ap on ap.device_id = d.id
where dt.communication_mode in (0, 2)
<if test="criteria.deviceType != null">