|
@@ -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);
|