Merge branch 'dyf-device' into 6170

This commit is contained in:
2025-10-11 09:05:38 +08:00
3 changed files with 11 additions and 4 deletions

View File

@ -105,6 +105,7 @@ public class DeviceQueryCriteria extends BaseEntity {
/**
* 设备所属分组
* group_id
*/
private Long groupId;

View File

@ -140,6 +140,9 @@
<if test="criteria.deviceStatus != null">
and d.device_status = #{criteria.deviceStatus}
</if>
<if test="criteria.groupId != null">
and d.group_id = #{criteria.groupId}
</if>
<if test="criteria.currentOwnerId != null">
and d.current_owner_id = #{criteria.currentOwnerId}
</if>