|
@@ -169,7 +169,9 @@
|
|
dept.parent_id,
|
|
dept.parent_id,
|
|
dept.name,
|
|
dept.name,
|
|
dept.file_type,
|
|
dept.file_type,
|
|
|
|
+ dept.tab_type,
|
|
dept.tab_id,
|
|
dept.tab_id,
|
|
|
|
+ info.table_owner as tableOwner,
|
|
(
|
|
(
|
|
SELECT
|
|
SELECT
|
|
CASE WHEN count(1) > 0 THEN 1 ELSE 0 END
|
|
CASE WHEN count(1) > 0 THEN 1 ELSE 0 END
|
|
@@ -180,6 +182,8 @@
|
|
) AS "has_children"
|
|
) AS "has_children"
|
|
FROM
|
|
FROM
|
|
m_excel_tab dept
|
|
m_excel_tab dept
|
|
|
|
+ LEFT JOIN
|
|
|
|
+ m_table_info info ON dept.tab_id = info.id
|
|
WHERE
|
|
WHERE
|
|
dept.is_deleted = 0
|
|
dept.is_deleted = 0
|
|
<if test="param1!=null and param1!=''">
|
|
<if test="param1!=null and param1!=''">
|