Merge branch 'main' into dyf-device

This commit is contained in:
2025-07-30 17:07:29 +08:00
37 changed files with 2737 additions and 188 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>