select primary_flag from tc_contact where primary_flag !=0 select dept_id,dept_name,tree_level,tree_path from tc_department where org_id=1 and stop_flag=0 order by tree_path --部门显示 SELECT * FROM TC_CONTACT where ACCOUNT_ID=1246968 --主视图select * from…