新增运营商名称模糊搜索

This commit is contained in:
2026-04-21 11:24:47 +08:00
parent e573a82120
commit 1b21d4dafa
3 changed files with 7 additions and 0 deletions

View File

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