refactor: 项目结构调整和相关代码优化

This commit is contained in:
Ray.Hao
2024-10-10 18:34:03 +08:00
parent 1840e57888
commit 44e31b395b
63 changed files with 285 additions and 144 deletions

View File

@@ -2,10 +2,10 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.youlai.boot.module.codegen.mapper.DatabaseMapper">
<mapper namespace="com.youlai.boot.shared.codegen.mapper.DatabaseMapper">
<!-- 查询数据库表分页 -->
<select id="getTablePage" resultType="com.youlai.boot.module.codegen.model.vo.TablePageVO">
<select id="getTablePage" resultType="com.youlai.boot.shared.codegen.model.vo.TablePageVO">
SELECT
t1.TABLE_NAME ,
t1.TABLE_COMMENT ,
@@ -33,7 +33,7 @@
CREATE_TIME DESC
</select>
<select id="getTableMetadata" resultType="com.youlai.boot.module.codegen.model.bo.TableMetaData">
<select id="getTableMetadata" resultType="com.youlai.boot.shared.codegen.model.bo.TableMetaData">
SELECT
TABLE_NAME ,
TABLE_COMMENT ,
@@ -47,7 +47,7 @@
AND TABLE_NAME = #{tableName}
</select>
<select id="getTableColumns" resultType="com.youlai.boot.module.codegen.model.bo.ColumnMetaData">
<select id="getTableColumns" resultType="com.youlai.boot.shared.codegen.model.bo.ColumnMetaData">
SELECT
COLUMN_NAME,
DATA_TYPE,

View File

@@ -2,6 +2,6 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.youlai.boot.module.codegen.mapper.GenConfigMapper">
<mapper namespace="com.youlai.boot.shared.codegen.mapper.GenConfigMapper">
</mapper>

View File

@@ -2,6 +2,6 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.youlai.boot.module.generator.mapper.GenFieldConfigMapper">
<mapper namespace="com.youlai.boot.shared.generator.mapper.GenFieldConfigMapper">
</mapper>