mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	feat: 新增 continew-admin-plugins 插件模块,代码生成迁移到插件模块,为后续插件化改造铺垫
This commit is contained in:
		
							
								
								
									
										38
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								README.md
									
									
									
									
									
								
							| @@ -317,24 +317,26 @@ continew-admin | ||||
| │  │  │     └─ mapper(系统管理相关 Mapper XML 文件目录) | ||||
| │  │  └─ test(测试相关代码目录) | ||||
| │  └─ pom.xml | ||||
| ├─ continew-admin-generator(代码生成器插件模块) | ||||
| │  ├─ src | ||||
| │  │  ├─ main | ||||
| │  │  │  ├─ java/top/continew/admin/generator | ||||
| │  │  │  │  ├─ config(代码生成器相关配置) | ||||
| │  │  │  │  ├─ enums(代码生成器相关枚举) | ||||
| │  │  │  │  ├─ mapper(代码生成器相关 Mapper) | ||||
| │  │  │  │  ├─ model(代码生成器相关模型) | ||||
| │  │  │  │  │  ├─ entity(代码生成器相关实体对象) | ||||
| │  │  │  │  │  ├─ query(代码生成器相关查询条件) | ||||
| │  │  │  │  │  ├─ req(代码生成器相关请求对象(Request)) | ||||
| │  │  │  │  │  └─ resp(代码生成器相关响应对象(Response)) | ||||
| │  │  │  │  └─ service(代码生成器相关业务接口及实现类) | ||||
| │  │  │  └─ resources | ||||
| │  │  │     ├─ templates/generator(代码生成相关模板目录) | ||||
| │  │  │     ├─ application.yml(代码生成配置文件) | ||||
| │  │  │     └─ generator.properties(代码生成类型映射配置文件) | ||||
| │  │  └─ test(测试相关代码目录) | ||||
| ├─ continew-admin-plugins(插件模块,存放代码生成、任务调度等扩展模块,后续会进行插件化改造) | ||||
| │  ├─ continew-admin-generator(代码生成器插件模块) | ||||
| │  │  ├─ src | ||||
| │  │  │  ├─ main | ||||
| │  │  │  │  ├─ java/top/continew/admin/generator | ||||
| │  │  │  │  │  ├─ config(代码生成器相关配置) | ||||
| │  │  │  │  │  ├─ enums(代码生成器相关枚举) | ||||
| │  │  │  │  │  ├─ mapper(代码生成器相关 Mapper) | ||||
| │  │  │  │  │  ├─ model(代码生成器相关模型) | ||||
| │  │  │  │  │  │  ├─ entity(代码生成器相关实体对象) | ||||
| │  │  │  │  │  │  ├─ query(代码生成器相关查询条件) | ||||
| │  │  │  │  │  │  ├─ req(代码生成器相关请求对象(Request)) | ||||
| │  │  │  │  │  │  └─ resp(代码生成器相关响应对象(Response)) | ||||
| │  │  │  │  │  └─ service(代码生成器相关业务接口及实现类) | ||||
| │  │  │  │  └─ resources | ||||
| │  │  │  │     ├─ templates/generator(代码生成相关模板目录) | ||||
| │  │  │  │     ├─ application.yml(代码生成配置文件) | ||||
| │  │  │  │     └─ generator.properties(代码生成类型映射配置文件) | ||||
| │  │  │  └─ test(测试相关代码目录) | ||||
| │  │  └─ pom.xml | ||||
| │  └─ pom.xml | ||||
| ├─ continew-admin-common(公共模块,存放公共工具类,公共配置等) | ||||
| │  ├─ src | ||||
|   | ||||
| @@ -5,18 +5,10 @@ | ||||
|     <modelVersion>4.0.0</modelVersion> | ||||
|     <parent> | ||||
|         <groupId>top.continew</groupId> | ||||
|         <artifactId>continew-admin</artifactId> | ||||
|         <artifactId>continew-admin-plugins</artifactId> | ||||
|         <version>${revision}</version> | ||||
|     </parent> | ||||
| 
 | ||||
|     <artifactId>continew-admin-generator</artifactId> | ||||
|     <description>代码生成器插件</description> | ||||
| 
 | ||||
|     <dependencies> | ||||
|         <!-- 公共模块(存放公共工具类,公共配置等) --> | ||||
|         <dependency> | ||||
|             <groupId>top.continew</groupId> | ||||
|             <artifactId>continew-admin-common</artifactId> | ||||
|         </dependency> | ||||
|     </dependencies> | ||||
| </project> | ||||
							
								
								
									
										27
									
								
								continew-admin-plugins/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								continew-admin-plugins/pom.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||
|          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||
|          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||
|     <modelVersion>4.0.0</modelVersion> | ||||
|     <parent> | ||||
|         <groupId>top.continew</groupId> | ||||
|         <artifactId>continew-admin</artifactId> | ||||
|         <version>${revision}</version> | ||||
|     </parent> | ||||
|  | ||||
|     <artifactId>continew-admin-plugins</artifactId> | ||||
|     <packaging>pom</packaging> | ||||
|     <description>插件模块(存放代码生成、任务调度等扩展模块)</description> | ||||
|  | ||||
|     <modules> | ||||
|         <module>continew-admin-generator</module> | ||||
|     </modules> | ||||
|  | ||||
|     <dependencies> | ||||
|         <!-- 公共模块(存放公共工具类,公共配置等) --> | ||||
|         <dependency> | ||||
|             <groupId>top.continew</groupId> | ||||
|             <artifactId>continew-admin-common</artifactId> | ||||
|         </dependency> | ||||
|     </dependencies> | ||||
| </project> | ||||
		Reference in New Issue
	
	Block a user