소스 검색

修改二维实体分析显示曾经,第四级设置false,代表没有下一级

DESKTOP-2K9OVK9\siwei 5 달 전
부모
커밋
35305e69b9
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      onemap-modules/onemap-apply/src/main/java/com/onemap/apply/service/dimentity/impl/DimEntityServiceImpl.java

+ 3 - 0
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/service/dimentity/impl/DimEntityServiceImpl.java

@@ -133,6 +133,9 @@ public class DimEntityServiceImpl implements DimEntityService {
                 if (d0_tables.size() > 0) {
                     entityCodeTreeVo.setCount(dimEntityMapper.queryEntityCodeTableCountByCode(entityCodeTreeVo.getId(), d0_tables));
                 }
+                if (level == 4) {
+                    entityCodeTreeVo.setDisabled(false);
+                }
             }
         } else {
             List<String> d0_tables = dimEntityMapper.queryTablesNameByViewCode(viewTableName, code);