zoujiajian 2 년 전
부모
커밋
aed9194621
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/cps/CpsPopularizeController.java

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