huang
5e7e68cce7
feat(设备列表): 新增 has_active_package 查询条件
- DTO ListDeviceRequest 增加 HasActivePackage *bool 字段(query/json: has_active_package)
- Service List 方法将 HasActivePackage 透传至 filters["has_active_package"]
- Store applyDeviceFilters 新增 applyHasActivePackageFilter:
true → EXISTS 子查询(生效中主套餐)
false → NOT EXISTS 子查询
均限制 master_usage_id IS NULL、deleted_at IS NULL,状态使用 constants.PackageUsageStatusActive
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 12:15:06 +08:00
..
2026-05-19 12:15:06 +08:00
2025-11-18 16:44:06 +08:00
2025-11-13 13:40:19 +08:00