|
|
@@ -209,7 +209,7 @@ public class CpsPopularizeController {
|
|
|
}
|
|
|
conditionSql += " and exists (select id from goods_don_sku sku where sku.goods_id = g.id limit 1)";
|
|
|
if (isRate != null && isRate) {
|
|
|
- conditionSql += " and exist (select 1 from user_plat_distribute_rate upr where upr.goods_id = g.id and upr.rate > 0)";
|
|
|
+ conditionSql += " and exists (select 1 from user_plat_distribute_rate upr where upr.goods_id = g.id and upr.rate > 0)";
|
|
|
}
|
|
|
List<GoodsDon> goodsDons = beanSearcher.searchAll(GoodsDon.class, mapBuilder
|
|
|
.put("condition", conditionSql)
|