|
@@ -121,10 +121,10 @@
|
|
|
<if test="@org.eco.common.orm.helper.DataBaseHelper@isDmSql()">
|
|
|
select so.NAME table_name, st.COMMENT$ table_comment, so.CRTDATE create_time from SYS.SYSOBJECTS so left join
|
|
|
SYS.SYSTABLECOMMENTS st on so.NAME = st.TVNAME and st.TABLE_TYPE = 'TABLE' and st.SCHNAME = (select CURR_SCH
|
|
|
- from V$SESSIONS WHERE CURR_SCH = 'eco' LIMIT 1)
|
|
|
+ from V$SESSIONS WHERE CURR_SCH = 'als' LIMIT 1)
|
|
|
where so.TYPE$='SCHOBJ' and so.SUBTYPE$='UTAB' and so.PID = -1 and INSTR(so.NAME,'##') = 0 and so.SCHID =
|
|
|
(select ID from SYS.SYSOBJECTS where TYPE$='SCH' and NAME= (select CURR_SCH
|
|
|
- from V$SESSIONS WHERE CURR_SCH = 'eco' LIMIT 1)) and
|
|
|
+ from V$SESSIONS WHERE CURR_SCH = 'als' LIMIT 1)) and
|
|
|
so.NAME NOT LIKE 'pj_%' AND so.NAME NOT LIKE 'gen_%'
|
|
|
and so.NAME NOT IN (select table_name from gen_table)
|
|
|
<if test="tableName != null and tableName != ''">
|
|
@@ -182,10 +182,10 @@
|
|
|
(select so.NAME table_name, st.COMMENT$ table_comment, so.CRTDATE create_time from SYS.SYSOBJECTS so left
|
|
|
join
|
|
|
SYS.SYSTABLECOMMENTS st on so.NAME = st.TVNAME and st.TABLE_TYPE = 'TABLE' and st.SCHNAME = (select CURR_SCH
|
|
|
- from V$SESSIONS WHERE CURR_SCH = 'eco' LIMIT 1)
|
|
|
+ from V$SESSIONS WHERE CURR_SCH = 'als' LIMIT 1)
|
|
|
where so.TYPE$='SCHOBJ' and so.SUBTYPE$='UTAB' and so.PID = -1 and INSTR(so.NAME,'##') = 0 and so.SCHID =
|
|
|
(select ID from SYS.SYSOBJECTS where TYPE$='SCH' and NAME= (select CURR_SCH
|
|
|
- from V$SESSIONS WHERE CURR_SCH = 'eco' LIMIT 1)) and
|
|
|
+ from V$SESSIONS WHERE CURR_SCH = 'als' LIMIT 1)) and
|
|
|
so.NAME NOT LIKE 'pj_%' AND so.NAME NOT LIKE 'gen_%'
|
|
|
and so.NAME NOT IN (select table_name from gen_table)
|
|
|
<if test="tableName != null and tableName != ''">
|
|
@@ -230,10 +230,10 @@
|
|
|
<if test="@org.eco.common.orm.helper.DataBaseHelper@isDmSql()">
|
|
|
select so.NAME table_name, st.COMMENT$ table_comment, so.CRTDATE create_time from SYS.SYSOBJECTS so left join
|
|
|
SYS.SYSTABLECOMMENTS st on so.NAME = st.TVNAME and st.TABLE_TYPE = 'TABLE' and st.SCHNAME = (select CURR_SCH
|
|
|
- from V$SESSIONS WHERE CURR_SCH = 'eco' LIMIT 1)
|
|
|
+ from V$SESSIONS WHERE CURR_SCH = 'als' LIMIT 1)
|
|
|
where so.TYPE$='SCHOBJ' and so.SUBTYPE$='UTAB' and so.PID = -1 and INSTR(so.NAME,'##') = 0 and so.SCHID =
|
|
|
(select ID from SYS.SYSOBJECTS where TYPE$='SCH' and NAME= (select CURR_SCH
|
|
|
- from V$SESSIONS WHERE CURR_SCH = 'eco' LIMIT 1)) and
|
|
|
+ from V$SESSIONS WHERE CURR_SCH = 'als' LIMIT 1)) and
|
|
|
so.NAME NOT LIKE 'pj_%' and so.NAME NOT LIKE 'gen_%'
|
|
|
and so.NAME in
|
|
|
<foreach collection="array" item="name" open="(" separator="," close=")">
|