chengyao 4 سال پیش
والد
کامیت
4a7255a8c1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      structure-center/src/main/java/com/lantone/structure/ai/process/EntityProcessEZaAll.java

+ 1 - 1
structure-center/src/main/java/com/lantone/structure/ai/process/EntityProcessEZaAll.java

@@ -38,7 +38,7 @@ public class EntityProcessEZaAll extends EntityProcess {
             List<Lemma> uprightType = createEntityTree(aiOut, EntityEnum.UPRIGHTTYPE.toString());
             if(ListUtil.isNotEmpty(uprightType)){
                 long count = uprightType.stream().filter(obj -> EntityEnum.UPRIGHTTYPE.toString().equals(obj.getProperty())).count();
-                if(count>0){
+                if(count>0 && uprightType.size() == count){
                     development.setName(EntityEnum.UPRIGHTTYPE.toString());
                 }
             }