/**
* 查询所有的员工
* @return 返回RowSet集
*/
protected IRowSet _getCtrlUnitOrderbyLevel(Context ctx) throws BOSException {
synchronized(this){
logger.info("查询所有的组织单元");
return DbUtil.executeQuery(ctx, "select FID,FName_L2,FIsLeaf,FLevel,FParentID FROM T_ORG_Admin order by FLevel");
}
}
//fid为id,fname_L2为名称,fisleaf为是否是末级节点,FLeavel为级别,FParentID为父类id