forked from dyf/fys-Multi-tenant
控制中心设备绑定修改2
This commit is contained in:
@ -239,8 +239,7 @@
|
|||||||
where d.device_mac = #{deviceMac}
|
where d.device_mac = #{deviceMac}
|
||||||
</select>
|
</select>
|
||||||
<select id="queryWebDeviceList" resultType="com.fuyuanshen.equipment.domain.vo.WebDeviceVo">
|
<select id="queryWebDeviceList" resultType="com.fuyuanshen.equipment.domain.vo.WebDeviceVo">
|
||||||
select DISTINCT d.id, d.device_name, d.device_name,
|
select DISTINCT d.id, d.device_name,
|
||||||
d.device_name,
|
|
||||||
d.device_mac,
|
d.device_mac,
|
||||||
d.device_sn,
|
d.device_sn,
|
||||||
d.device_imei,
|
d.device_imei,
|
||||||
@ -252,7 +251,8 @@
|
|||||||
ap.name personnelBy,
|
ap.name personnelBy,
|
||||||
d.device_status,
|
d.device_status,
|
||||||
d.online_status,
|
d.online_status,
|
||||||
c.binding_time
|
c.binding_time,
|
||||||
|
d.create_time
|
||||||
from device d
|
from device d
|
||||||
inner join device_type dt on d.device_type = dt.id
|
inner join device_type dt on d.device_type = dt.id
|
||||||
inner join app_device_bind_record c on d.id = c.device_id
|
inner join app_device_bind_record c on d.id = c.device_id
|
||||||
|
|||||||
Reference in New Issue
Block a user