|
|
@@ -450,7 +450,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 +
|
|
|
- ") where rownum <= 10";
|
|
|
+ ") a limit 10";
|
|
|
return commonDao.query(productSql, Product.class);
|
|
|
}
|
|
|
|