zq-erp/src/main/java/com/matrix/system/hive/action/ArticleTypeController.java
@@ -7,6 +7,7 @@
import javax.annotation.Resource;
import com.matrix.core.constance.MatrixConstance;
import com.matrix.core.exception.GlobleException;
import com.matrix.core.pojo.AjaxResult;
import com.matrix.core.pojo.PaginationVO;
import com.matrix.core.tools.StringUtils;
@@ -126,7 +127,10 @@
      articleType.setParentIds(CollectionUtils.isNotEmpty(ids) ? StringUtils.collToStr(ids, ",") : null);
      if (articleType.getId() != null) {
         // 自己不能是自己的父节点
         if (articleType.getParentId() != null && articleType.getParentId().equals(articleType.getId())) {
            throw new GlobleException("父级不能是自己");
         }
         return modify(currentService, articleType, "文章类型");
      } else {