Commit 6da5df64 by zhengxj

finish 解决组织新增超过四层问题 on 20190313 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18480 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 308976e2
...@@ -105,7 +105,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{ ...@@ -105,7 +105,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{
if (organization != null) { if (organization != null) {
SysOrganization grandOrganization = orgDao.selectByPrimaryKey(organization.getParentId()); SysOrganization grandOrganization = orgDao.selectByPrimaryKey(organization.getParentId());
if (grandOrganization != null) { if (grandOrganization != null) {
SysOrganization rootOrganization = orgDao.selectByPrimaryKey(organization.getParentId()); SysOrganization rootOrganization = orgDao.selectByPrimaryKey(grandOrganization.getParentId());
if (rootOrganization != null) { if (rootOrganization != null) {
return true; return true;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!