wanggaokun 11 hónapja
szülő
commit
b7bbd50d6c

+ 2 - 2
als-modules/generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml

@@ -115,7 +115,7 @@
             on sc.NAME = scc.COLNAME and scc.TABLE_TYPE = 'TABLE' and
             scc.SCHNAME = (select CURR_SCH
             from V$SESSIONS
-            WHERE CURR_SCH = 'eco'
+            WHERE CURR_SCH = 'als'
             LIMIT 1) and
             scc.TVNAME = so.NAME
             where so.TYPE$ = 'SCHOBJ'
@@ -127,7 +127,7 @@
             where TYPE$ = 'SCH'
             and NAME = (select CURR_SCH
             from V$SESSIONS
-            WHERE CURR_SCH = 'eco'
+            WHERE CURR_SCH = 'als'
             LIMIT 1))
             and so.NAME = #{tableName}
             order by sc.COLID

+ 6 - 6
als-modules/generator/src/main/resources/mapper/generator/GenTableMapper.xml

@@ -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=")">