设备下发指令控制

This commit is contained in:
2025-07-28 18:26:02 +08:00
parent 730e9c0bb7
commit 2b2edf096d
24 changed files with 2124 additions and 149 deletions

View File

@ -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>