src/main/java/com/zy/asrs/service/impl/NodeServiceImpl.java
@@ -55,7 +55,7 @@ top.setUpdateTime(new Date()); Integer insert = this.baseMapper.insert(top); if (insert == 0) { throw new CoolException("服务器异常"); throw new CoolException("获取分类失败"); } } return top; @@ -224,4 +224,9 @@ page.setTotal(baseMapper.listByPageCount(page.getCondition())); return page; } @Override public Node selectByParentName(String parentName) { return this.selectOne(new EntityWrapper<Node>().eq("parent_name",parentName)); } }