mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 09:48:43 +08:00 
			
		
		
		
	合并成单 module 的初始化
使用 spring boot 2.4.1 启动项目
This commit is contained in:
		
							
								
								
									
										13
									
								
								src/main/java/cn/iocoder/dashboard/DashboardApplication.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/main/java/cn/iocoder/dashboard/DashboardApplication.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| package cn.iocoder.dashboard; | ||||
|  | ||||
| import org.springframework.boot.SpringApplication; | ||||
| import org.springframework.boot.autoconfigure.SpringBootApplication; | ||||
|  | ||||
| @SpringBootApplication | ||||
| public class DashboardApplication { | ||||
|  | ||||
|     public static void main(String[] args) { | ||||
|         SpringApplication.run(DashboardApplication.class, args); | ||||
|     } | ||||
|  | ||||
| } | ||||
| @@ -0,0 +1,40 @@ | ||||
| package cn.iocoder.dashboard.framework.mybatis.core; | ||||
|  | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | ||||
| import lombok.Data; | ||||
|  | ||||
| import java.io.Serializable; | ||||
| import java.util.Date; | ||||
|  | ||||
| /** | ||||
|  * 基础实体对象 | ||||
|  */ | ||||
| @Data | ||||
| public class BaseDO implements Serializable { | ||||
|  | ||||
|     /** | ||||
|      * 创建时间 | ||||
|      */ | ||||
|     private Date createTime; | ||||
|     /** | ||||
|      * 最后更新时间 | ||||
|      */ | ||||
|     private Date updateTime; | ||||
|     /** | ||||
|      * 创建者 TODO 芋艿:迁移成编号 | ||||
|      */ | ||||
|     private String createBy; | ||||
|     /** | ||||
|      * 更新者 TODO 芋艿:迁移成编号 | ||||
|      */ | ||||
|     private String updateBy; | ||||
|     /** | ||||
|      * 是否删除 | ||||
|      */ | ||||
|     @TableLogic | ||||
|     private Integer deleted; | ||||
|  | ||||
| //    /** 备注 */ TODO 思考下,怎么解决 | ||||
| //    private String remark; | ||||
|  | ||||
| } | ||||
| @@ -0,0 +1 @@ | ||||
| package cn.iocoder.dashboard.framework.mybatis; | ||||
| @@ -0,0 +1 @@ | ||||
| package cn.iocoder.dashboard.modules.system.dal.mysql.dataobject; | ||||
| @@ -0,0 +1,4 @@ | ||||
| package cn.iocoder.dashboard.modules.system.dal.redis; | ||||
|  | ||||
| public class RedisKeyContants { | ||||
| } | ||||
| @@ -0,0 +1 @@ | ||||
| package cn.iocoder.dashboard.modules.system.service; | ||||
							
								
								
									
										7
									
								
								src/main/resources/application.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/main/resources/application.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| spring: | ||||
|   # 数据源配置项 | ||||
|   datasource: | ||||
|     url: jdbc:mysql://127.0.1:3306/ruoyi-vue-pro?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT | ||||
|     driver-class-name: com.mysql.jdbc.Driver | ||||
|     username: root | ||||
|     password: 123456 | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV