diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/service/impl/CmsColumnServiceImpl.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/service/impl/CmsColumnServiceImpl.java index 70f33ffd..c465a70f 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/service/impl/CmsColumnServiceImpl.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/service/impl/CmsColumnServiceImpl.java @@ -127,22 +127,6 @@ public class CmsColumnServiceImpl extends ServiceImpl().eq("pid", pid)); - if (count == null || count <= 1) { -// baseMapper.updateTreeNodeStatus(pid, ICmsColumnService.NOCHILD); - this.lambdaUpdate().set(CmsColumn::getPid, ICmsColumnService.NOCHILD) - .eq(CmsColumn::getPid, pid).update(); - } - } - } - /** * 递归查询节点的根节点 *