select d.dept_id as deptId, d.parent_id as parentId, d.ancestors, d.dept_name as deptName, d.order_num as orderNum, d.leader, d.phone, d.email, d.status, d.del_flag as delFlag, d.create_by as createBy, d.create_time as createTime, dept_type as deptType, d.kingdee_org_id as kingdeeOrgId, d.kingdee_org_parent_id as kingdeeOrgParentId, tenant_code as tenantCode, organizationId, organizationParentId, zzLevel, code, mappingUnitParentId, updateAt, createAt, description, effectOn, sequence, isDeleted, zzDisplayPath, `name`, guid, zzIsLeaf, isDisabled, fullname, isMappingUnit, srzUnitId, taskId, creditcode, zone, simpleName, isStatutoryOrg, isActive, unitStatusCode, unitStatus, unitType, xzqhCode, xzqh, isCGManager, isBureauOffice, unitTypeCode, dwxzCode, dwxz, unitSysTypeCode, unitSysType, dwxtlbms, unitLevelCode, unitLevel from sys_dept d