From df38aad2b56c0f80059e2ae3417182b57926783d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 31 三月 2023 18:39:10 +0800 Subject: [PATCH] update 更改包名为 org.dromara update 更改文档地址为 plus-doc.dromara.org --- ruoyi-modules/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml b/ruoyi-modules/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml index f23b000..1ae784f 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml @@ -2,20 +2,20 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.ruoyi.generator.mapper.GenTableMapper"> +<mapper namespace="org.dromara.generator.mapper.GenTableMapper"> <!-- 澶氱粨鏋勫祵濂楄嚜鍔ㄦ槧灏勯渶甯︿笂姣忎釜瀹炰綋鐨勪富閿甶d 鍚﹀垯鏄犲皠浼氬け璐� --> - <resultMap type="com.ruoyi.generator.domain.GenTable" id="GenTableResult"> + <resultMap type="org.dromara.generator.domain.GenTable" id="GenTableResult"> <id property="tableId" column="table_id" /> <collection property="columns" javaType="java.util.List" resultMap="GenTableColumnResult" /> </resultMap> - <resultMap type="com.ruoyi.generator.domain.GenTableColumn" id="GenTableColumnResult"> + <resultMap type="org.dromara.generator.domain.GenTableColumn" id="GenTableColumnResult"> <id property="columnId" column="column_id"/> </resultMap> <select id="selectPageDbTableList" resultMap="GenTableResult"> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isMySql()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isMySql()"> select table_name, table_comment, create_time, update_time from information_schema.tables where table_schema = (select database()) @@ -29,7 +29,7 @@ </if> order by create_time desc </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isOracle()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isOracle()"> select lower(dt.table_name) as table_name, dtc.comments as table_comment, uo.created as create_time, uo.last_ddl_time as update_time from user_tables dt, user_tab_comments dtc, user_objects uo where dt.table_name = dtc.table_name @@ -45,7 +45,7 @@ </if> order by create_time desc </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isPostgerSql()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isPostgerSql()"> select table_name, table_comment, create_time, update_time from ( SELECT c.relname AS table_name, @@ -69,7 +69,7 @@ </if> order by create_time desc </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isSqlServer()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isSqlServer()"> SELECT cast(D.NAME as nvarchar) as table_name, cast(F.VALUE as nvarchar) as table_comment, crdate as create_time, @@ -90,7 +90,7 @@ </select> <select id="selectDbTableListByNames" resultMap="GenTableResult"> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isMySql()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isMySql()"> select table_name, table_comment, create_time, update_time from information_schema.tables where table_name NOT LIKE 'xxl_job_%' and table_name NOT LIKE 'gen_%' and table_schema = (select database()) and table_name in @@ -98,7 +98,7 @@ #{name} </foreach> </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isOracle()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isOracle()"> select lower(dt.table_name) as table_name, dtc.comments as table_comment, uo.created as create_time, uo.last_ddl_time as update_time from user_tables dt, user_tab_comments dtc, user_objects uo where dt.table_name = dtc.table_name @@ -111,7 +111,7 @@ #{name} </foreach> </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isPostgerSql()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isPostgerSql()"> select table_name, table_comment, create_time, update_time from ( SELECT c.relname AS table_name, @@ -131,7 +131,7 @@ #{name} </foreach> </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isSqlServer()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isSqlServer()"> SELECT cast(D.NAME as nvarchar) as table_name, cast(F.VALUE as nvarchar) as table_comment, crdate as create_time, @@ -148,12 +148,12 @@ </select> <select id="selectTableByName" parameterType="String" resultMap="GenTableResult"> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isMySql()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isMySql()"> select table_name, table_comment, create_time, update_time from information_schema.tables where table_name NOT LIKE 'xxl_job_%' and table_name NOT LIKE 'gen_%' and table_schema = (select database()) and table_name = #{tableName} </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isOracle()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isOracle()"> select lower(dt.table_name) as table_name, dtc.comments as table_comment, uo.created as create_time, uo.last_ddl_time as update_time from user_tables dt, user_tab_comments dtc, user_objects uo where dt.table_name = dtc.table_name @@ -163,7 +163,7 @@ AND dt.table_name NOT IN (select table_name from gen_table) and lower(dt.table_name) = #{tableName} </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isPostgerSql()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isPostgerSql()"> select table_name, table_comment, create_time, update_time from ( SELECT c.relname AS table_name, @@ -180,7 +180,7 @@ where table_name NOT LIKE 'xxl_job_%' and table_name NOT LIKE 'gen_%' and table_name = #{tableName} </if> - <if test="@com.ruoyi.common.mybatis.helper.DataBaseHelper@isSqlServer()"> + <if test="@org.dromara.common.mybatis.helper.DataBaseHelper@isSqlServer()"> SELECT cast(D.NAME as nvarchar) as table_name, cast(F.VALUE as nvarchar) as table_comment, crdate as create_time, -- Gitblit v1.9.3