自动化立体仓库 - WMS系统
zhangc
2025-01-09 a66b19e1c09201a922735c2325ca04df7fe544af
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));
    }
}