|
|
@@ -308,7 +308,6 @@ public class VendorsServiceImpl implements VendorService {
|
|
|
*
|
|
|
* @param productMatchCondition 物料模糊匹配条件
|
|
|
* @param enterpriseMatchCondition 企业搜索匹配条件
|
|
|
- * @param productCondition 物料精确匹配条件
|
|
|
* @param page 页面
|
|
|
* @param size 每页条数
|
|
|
* @return
|
|
|
@@ -339,7 +338,7 @@ public class VendorsServiceImpl implements VendorService {
|
|
|
.append(enUU).append(") isVendor from (select t.*,rownum as r1 from (").append(enterpriseSql).append(rownumSql);
|
|
|
// 因为需求更改为所有有销售产品的企业都会被返回,所以total直接取除本企业外其他有销售产品的企业数即可,之前的匹配企业数不再返回
|
|
|
StringBuffer totalSql = new StringBuffer().append(" select count(1) from (select en_uu from sec$enterprises left join " +
|
|
|
- " v$products on en_uu = pr_enuu where pr_b2bdisabled <> 1 and en_uu <> ")
|
|
|
+ " v$products on en_uu = pr_enuu where pr_b2bdisabled <> 1 and en_name not like '%测试%' and en_name not like '%test%' and en_uu <> ")
|
|
|
.append(enUU).append(" group by en_uu)");
|
|
|
// System.out.println("SQL:" + vendorRecommendUusSql.toString());
|
|
|
// System.out.println("NUM_SQL:" + totalSql.toString());
|