|
@@ -65,7 +65,7 @@ public class DefaultRecallStrategy implements RecallStrategy {
|
|
|
MapSqlParameterSource parameters = new MapSqlParameterSource();
|
|
|
parameters.addValue("channelContentIds", channelContentIds);
|
|
|
List<ContentCategory> result = piaoquanCrawlerJdbcTemplate.query(
|
|
|
- "select duplicate content_channel_id, category from cold_start_article_pool where content_channel_id " +
|
|
|
+ "select distinct content_channel_id, category from cold_start_article_pool where content_channel_id " +
|
|
|
"in (:channelContentIds)",
|
|
|
parameters,
|
|
|
new BeanPropertyRowMapper<>(ContentCategory.class));
|