|
@@ -104,7 +104,7 @@ public class OrgServiceImpl implements OrgService {
|
|
|
if(orgType.getChildType()!=null&&org.getOrgType().equals("department")
|
|
|
&&orgType.getChildType().equals("company")){
|
|
|
return -2;
|
|
|
- }else if(orgType.getParentOrgId()!=null&&org.getOrgType().equals("company")&&
|
|
|
+ }else if(orgType.getParentType()!=null&&org.getOrgType().equals("company")&&
|
|
|
orgType.getParentType().equals("department")){
|
|
|
return -3;
|
|
|
}
|