|
@@ -140,9 +140,11 @@ public class ConceptInfoFacade extends ConceptInfoServiceImpl {
|
|
.stream()
|
|
.stream()
|
|
.map(i -> i.getName())
|
|
.map(i -> i.getName())
|
|
.collect(Collectors.toList());
|
|
.collect(Collectors.toList());
|
|
- List<ConceptInfo> conceptInfoList = Lists.newLinkedList();
|
|
|
|
QueryWrapper<ConceptInfo> conceptInfoQueryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<ConceptInfo> conceptInfoQueryWrapper = new QueryWrapper<>();
|
|
- int n = 0;
|
|
|
|
|
|
+ conceptInfoQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey());
|
|
|
|
+ conceptInfoQueryWrapper.in("name", conNameList);
|
|
|
|
+ List<ConceptInfo> conceptInfoList = this.list(conceptInfoQueryWrapper);
|
|
|
|
+ /*int n = 0;
|
|
do {
|
|
do {
|
|
List<String> subConNameList = new ArrayList<>();
|
|
List<String> subConNameList = new ArrayList<>();
|
|
if (n + 1000 < conNameList.size()) {
|
|
if (n + 1000 < conNameList.size()) {
|
|
@@ -158,7 +160,7 @@ public class ConceptInfoFacade extends ConceptInfoServiceImpl {
|
|
conceptInfoList.addAll(subConceptInfoList);
|
|
conceptInfoList.addAll(subConceptInfoList);
|
|
}
|
|
}
|
|
n += 1000;
|
|
n += 1000;
|
|
- } while (conceptInfoList.size() < 100 && n < conNameList.size());
|
|
|
|
|
|
+ } while (conceptInfoList.size() < 100 && n < conNameList.size());*/
|
|
|
|
|
|
//staticKnowledgeIndexDTOList = staticKnowledgeIndexDTOList.subList(0, n);
|
|
//staticKnowledgeIndexDTOList = staticKnowledgeIndexDTOList.subList(0, n);
|
|
|
|
|