zoujiajian %!s(int64=2) %!d(string=hai) anos
pai
achega
aed9194621

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/cps/CpsPopularizeController.java

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