Browse Source

供应商资源联想接口修改

dongbw 7 years ago
parent
commit
43067c0fcd

+ 1 - 1
src/main/java/com/uas/platform/b2b/service/impl/VendorsServiceImpl.java

@@ -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);
 	}