• HRMS跑组织架构(父子关系)


    select child_org.organization_id,
           child_org.name
      
    from (select org.name,
                   org.organization_id,
                   pose_child.organization_id_parent,
                   pose_child.organization_id_child
              
    from hr_all_organization_units  org,
                   per_org_structure_elements pose_child,
                   per_org_structure_versions posv
             
    where org.business_group_id = 202
               
    and pose_child.organization_id_child = org.organization_id
               
    and trunc(sysdate) between trunc(posv.date_from) and
                   trunc(nvl(posv.date_to, sysdate))
               
    and posv.organization_structure_id = 940
               
    and posv.org_structure_version_id =
                   pose_child.org_structure_version_id) child_org
     start 
    with child_org.organization_id_parent = 204
    connect 
    by child_org.organization_id_parent = prior
               child_org.organization_id_child


             

                成长

           /      |     \

        学习   总结   分享

    QQ交流群:122230156

  • 相关阅读:
    中文词频统计及词云制作 25
    实验一 DOS实验 25
    字符串练习 25
    Python、循环的练习 25
    用requests库和BeautifulSoup4库爬取新闻列表 25
    爬取新闻列表 25
    Mockito使用总结
    20121116
    20121123
    20121115
  • 原文地址:https://www.cnblogs.com/benio/p/1923087.html
Copyright © 2020-2023  润新知