|
|
@@ -459,7 +459,7 @@ public class VendorsServiceImpl implements VendorService {
|
|
|
}
|
|
|
String value = field.replace("pr_", "");
|
|
|
String productSql = "select " + field + " as " + value +" from (" +
|
|
|
- " select " + field + " from v$products where " + condition + " group by " + field + " order by count(1) desc" +
|
|
|
+ " select " + field + " from v$products where " + condition + " group by " + field +
|
|
|
") where rownum <= 10";
|
|
|
return commonDao.query(productSql, Product.class);
|
|
|
}
|