关键词查询
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Has been cancelled

This commit is contained in:
Break
2026-06-04 10:34:14 +08:00
parent 420f3d83f9
commit d86ac46761
3 changed files with 9 additions and 1 deletions

View File

@@ -206,6 +206,9 @@ func (s *Service) ListStandalone(ctx context.Context, req *dto.ListStandaloneIot
if req.HasActivePackage != nil {
filters["has_active_package"] = *req.HasActivePackage
}
if req.Keyword != "" {
filters["keyword"] = req.Keyword
}
// 代理用户注入 subordinate_shop_ids让 Store 层走并行查询路径
// 避免 PG 对 shop_id IN (...) + ORDER BY 选择全表扫描