Browse Source

在抽取难点赌点时不能因为没有图片或内容将其忽略。

dev_shibei_match
wangchao 5 years ago
parent
commit
1630085a52
  1. 3
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenGrassrootsGovernDataAbsorptionServiceImpl.java

3
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenGrassrootsGovernDataAbsorptionServiceImpl.java

@ -184,8 +184,7 @@ public class ScreenGrassrootsGovernDataAbsorptionServiceImpl implements ScreenGr
List<ScreenDifficultyImgDataEntity> imgList = new LinkedList<>();
imgMap.values().forEach(list -> {imgList.addAll(list);});
difficulties.removeIf( diff -> StringUtils.isBlank(diff.getLatestOperateDesc())
|| StringUtils.isBlank(diff.getEventContent()) || StringUtils.isBlank(diff.getEventImgUrl()));
difficulties.removeIf( diff -> StringUtils.isBlank(diff.getLatestOperateDesc()));
screenDifficultyDataService.dataClean(param.getCustomerId(),difficulties,imgList);
log.info("【大屏数据抽取-难点赌点执行完毕】 客户Id{} 难点赌点数据{}",param.getCustomerId(),JSON.toJSONString(difficulties));

Loading…
Cancel
Save