设备下发指令控制
This commit is contained in:
@ -151,7 +151,8 @@
|
||||
d.binding_time
|
||||
from device d
|
||||
inner join device_type dt on d.device_type = dt.id
|
||||
where d.binding_user_id = #{criteria.bindingUserId}
|
||||
inner join app_device_bind_record c on d.id = c.device_id
|
||||
where c.binding_user_id = #{criteria.bindingUserId}
|
||||
<if test="criteria.deviceType != null">
|
||||
and d.device_type = #{criteria.deviceType}
|
||||
</if>
|
||||
|
Reference in New Issue
Block a user