|
@@ -114,7 +114,7 @@ public class VendorIntroductionServiceImpl implements VendorIntroductionService
|
|
|
// 查询企业是否开店语句
|
|
// 查询企业是否开店语句
|
|
|
// 查找非供应商的卖当前商品的企业UU
|
|
// 查找非供应商的卖当前商品的企业UU
|
|
|
String vendorIntroductionUusSql = "select s.*, ( select 1 from store$info where st_enuu = enUU) isStore, " +
|
|
String vendorIntroductionUusSql = "select s.*, ( select 1 from store$info where st_enuu = enUU) isStore, " +
|
|
|
- "(select 1 from v$product$private where ifnull(pr_b2cenabled, 1) = 1 and pr_enuu = enUU) hasProduct from ("
|
|
|
|
|
|
|
+ "(select 1 from v$product$private where ifnull(pr_b2cenabled, 1) = 1 and pr_issale = 1 and pr_enuu = enUU limit 0,1) hasProduct from ("
|
|
|
+ enterpriseSql + rownumSql;
|
|
+ enterpriseSql + rownumSql;
|
|
|
// String vendorIntroductionUusSql = "select s.*,( " + prodInfoSql + ") productInfo, (" + storeSql +
|
|
// String vendorIntroductionUusSql = "select s.*,( " + prodInfoSql + ") productInfo, (" + storeSql +
|
|
|
// ") isStore from (select t.*,rownum as r1 from (" + enterpriseSql + rownumSql;
|
|
// ") isStore from (select t.*,rownum as r1 from (" + enterpriseSql + rownumSql;
|