|
|
@@ -224,8 +224,9 @@ public class SysDeptServiceImpl implements ISysDeptService
|
|
|
throw new ServiceException("机构停用,不允许新增");
|
|
|
}
|
|
|
dept.setAncestors(info.getAncestors() + "," + dept.getParentId());
|
|
|
+ int iRet = deptMapper.insertDept(dept);
|
|
|
userService.insertRelateUser(UserTypeEnum.Institution, dept.getDeptId(), dept.getDeptId(), dept.getUsername(), dept.getDeptName());
|
|
|
- return deptMapper.insertDept(dept);
|
|
|
+ return iRet;
|
|
|
}
|
|
|
|
|
|
/**
|