server/src/main/java/com/doumee/service/business/impl/CategoryServiceImpl.java
@@ -70,7 +70,10 @@ if(parent == null || Constants.equalsInteger(parent.getIsdeleted(),Constants.ONE)){ throw new BusinessException(ResponseStatus.DATA_EXISTS.getCode(), "对不起,父级信息不存在~"); } if(Constants.equalsInteger(parent.getType(),Constants.FOUR) && parent.getParentId()!=null){ //如果是二级CDA主题,自己为观察项 category.setType(Constants.SIX); } idPath = parent.getIdPath(); category.setIdPath(parent.getIdPath()+category.getId()+"/"); category.setNamePath(parent.getNamePath()+"/"+category.getName());