Commit 1d1e0d62 authored by huyuchen's avatar huyuchen

huyc 部门根节点数值修改

parent 58b7488e
......@@ -215,7 +215,7 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl
if (null == sysDept) {
SysDept insertSysDept = new SysDept();
insertSysDept.setName(deptName);
insertSysDept.setParentId(CommonConstants.DEPT_TREE_ROOT_ID);
insertSysDept.setParentId(0L);
insertSysDept.setDeptDn(dn);
this.save(insertSysDept);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment