diff --git a/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/DeptServiceImpl.java b/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/DeptServiceImpl.java index de5006dc..43c9113b 100644 --- a/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/DeptServiceImpl.java +++ b/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/DeptServiceImpl.java @@ -59,7 +59,6 @@ protected void beforeAdd(DeptReq req) { boolean isExists = this.isNameExists(name, req.getParentId(), null); CheckUtils.throwIf(isExists, "新增失败,[{}] 已存在", name); req.setAncestors(this.getAncestors(req.getParentId())); - req.setStatus(DisEnableStatusEnum.ENABLE); } @Override diff --git a/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/MenuServiceImpl.java b/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/MenuServiceImpl.java index 19b20f40..975d46e8 100644 --- a/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/MenuServiceImpl.java +++ b/continew-admin-system/src/main/java/top/charles7c/continew/admin/system/service/impl/MenuServiceImpl.java @@ -51,7 +51,6 @@ public class MenuServiceImpl extends BaseServiceImpl