Commit 1a79f4a3 authored by 陈立彬's avatar 陈立彬

Merge branch 'feature/20240918_chain' into sandbox

parents ac0f22a4 d331967f
...@@ -947,7 +947,10 @@ public class AppExamineService { ...@@ -947,7 +947,10 @@ public class AppExamineService {
if (model.getParentId() == 0) { if (model.getParentId() == 0) {
levelOneCategorySet.add(id); levelOneCategorySet.add(id);
} else { } else {
levelOneCategorySet.add(model.getParentId()); WikiCategoryDto wikiCategoryDto = wikiCategoryDetail(model.getParentId());
if(Objects.nonNull(wikiCategoryDto) && Objects.equals(wikiCategoryDto.getParentId(), 0)) {
levelOneCategorySet.add(wikiCategoryDto.getId());
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment