forked from dyf/fys-Multi-tenant
设备绑定,解绑
This commit is contained in:
@ -92,5 +92,14 @@
|
||||
</where>
|
||||
order by d.id desc
|
||||
</select>
|
||||
<select id="queryAppDeviceList" resultType="com.fuyuanshen.equipment.domain.vo.AppDeviceVo">
|
||||
select
|
||||
d.id, d.device_name, d.device_pic, d.device_mac, d.device_sn,
|
||||
d.device_status, d.create_time, d.update_time, d.longitude, d.latitude,
|
||||
d.customer_id, d.current_owner_id, d.original_owner_id, d.customer_name,
|
||||
d.device_imei, d.tenant_id
|
||||
from device d
|
||||
where d.binding_user_id = #{criteria.bindingUserId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user