|
@@ -490,7 +490,7 @@ public class RecallService implements ApplicationContextAware {
|
|
.collect(Collectors.toMap(ArticleCategory::getTitleMd5, Function.identity(), (a, b) -> a));
|
|
.collect(Collectors.toMap(ArticleCategory::getTitleMd5, Function.identity(), (a, b) -> a));
|
|
// 根据sourceId查询kimiSafeScore
|
|
// 根据sourceId查询kimiSafeScore
|
|
List<ProduceTaskAtom> safeScoreList = aigcBaseMapper.getProduceScoreByContentId(sourceIds);
|
|
List<ProduceTaskAtom> safeScoreList = aigcBaseMapper.getProduceScoreByContentId(sourceIds);
|
|
- Map<String, String> safeScoreMap = safeScoreList.stream()
|
|
|
|
|
|
+ Map<String, String> safeScoreMap = safeScoreList.stream().filter(o -> StringUtils.hasText(o.getOutput()))
|
|
.collect(Collectors.toMap(ProduceTaskAtom::getPlanExeId, ProduceTaskAtom::getOutput));
|
|
.collect(Collectors.toMap(ProduceTaskAtom::getPlanExeId, ProduceTaskAtom::getOutput));
|
|
|
|
|
|
for (TitleHisCacheParam cacheParam : paramList) {
|
|
for (TitleHisCacheParam cacheParam : paramList) {
|