#namespace("CompanyUser")
    -- 获取所有项目经理列表
    #sql("getMasterPmList")
        select t1.person_id,t2.person_name,t2.telephone from ds_db.t_person_duty_charge as t1
        inner join ds_db.t_sys_loginperson as t2 on t1.person_id=t2.person_id
        where t1.duties_id in
            (select duties_id from ds_db.t_base_principalship_menu where menu_id in (select menu_id from ds_db.t_base_menu where menu_name = '企业用户管理'))
        and t1.b_use=1
        and t1.person_id not in (select child_person_id from yltcharge.t_ext_pm_parent)
        order by t2.person_name
    #end
#end