控制中心设备绑定修改
This commit is contained in:
@ -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">
|
||||
|
||||
Reference in New Issue
Block a user