mirror of
				https://gitee.com/lab1024/smart-admin.git
				synced 2025-11-04 10:23:43 +08:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			63ef235b95
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					38a92824ba | ||
| 
						 | 
					bf8311c296 | ||
| 
						 | 
					686f6ac9a3 | 
@@ -4,7 +4,7 @@
 | 
			
		||||
 | 
			
		||||
**<font color="#DC143C">国内首个满足《网络安全-三级等保》、《数据安全》</font>** 功能要求,支持登录限制、接口国产加解密、数据脱敏等一系列安全要求。
 | 
			
		||||
 | 
			
		||||
**<font color="#DC143C">支持国产数据库:【达梦、金仓、南大通用、OceanBase、GaussDB 高斯、阿里PolarDB、GoldenDB】等,主流数据库:【Mysql, PostgreSQL】等</font>**
 | 
			
		||||
**<font color="#DC143C">支持国产数据库:【达梦、金仓、南大通用、海量数据、神州通用、OceanBase、GaussDB 高斯、阿里PolarDB、GoldenDB】等,主流数据库:【Mysql, PostgreSQL】等</font>**
 | 
			
		||||
 | 
			
		||||
 **<font color="#DC143C">前端提供JavaScript和TypeScript双版本,后端提供Java8+SpringBoot2.X和Java17+SpringBoot3.X 双版本</font>**。
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,7 @@ JavaTypeMap.set('blob', 'String');
 | 
			
		||||
JavaTypeMap.set('date', 'LocalDate');
 | 
			
		||||
JavaTypeMap.set('datetime', 'LocalDateTime');
 | 
			
		||||
JavaTypeMap.set('timestamp', 'LocalDateTime');
 | 
			
		||||
JavaTypeMap.set('timestamp without time zone', 'LocalDateTime');
 | 
			
		||||
 | 
			
		||||
export const JavaTypeList = [
 | 
			
		||||
  'Boolean', //
 | 
			
		||||
@@ -67,6 +68,7 @@ JsTypeMap.set('blob', 'String');
 | 
			
		||||
JsTypeMap.set('date', 'Date');
 | 
			
		||||
JsTypeMap.set('datetime', 'Date');
 | 
			
		||||
JsTypeMap.set('timestamp', 'Date');
 | 
			
		||||
JsTypeMap.set('timestamp without time zone', 'Date');
 | 
			
		||||
 | 
			
		||||
export const JsTypeList = [
 | 
			
		||||
  'Boolean', //
 | 
			
		||||
@@ -106,6 +108,7 @@ FrontComponentMap.set('longtext', 'Textarea');
 | 
			
		||||
FrontComponentMap.set('blob', 'FileUpload');
 | 
			
		||||
FrontComponentMap.set('date', 'Date');
 | 
			
		||||
FrontComponentMap.set('datetime', 'DateTime');
 | 
			
		||||
FrontComponentMap.set('timestamp without time zone', 'DateTime');
 | 
			
		||||
 | 
			
		||||
export function getFrontComponent(dataType) {
 | 
			
		||||
  return FrontComponentMap.get(dataType);
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,7 @@ JavaTypeMap.set('blob', 'String');
 | 
			
		||||
JavaTypeMap.set('date', 'LocalDate');
 | 
			
		||||
JavaTypeMap.set('datetime', 'LocalDateTime');
 | 
			
		||||
JavaTypeMap.set('timestamp', 'LocalDateTime');
 | 
			
		||||
JavaTypeMap.set('timestamp without time zone', 'LocalDateTime');
 | 
			
		||||
 | 
			
		||||
export const JavaTypeList = [
 | 
			
		||||
  'Boolean', //
 | 
			
		||||
@@ -67,6 +68,7 @@ JsTypeMap.set('blob', 'String');
 | 
			
		||||
JsTypeMap.set('date', 'Date');
 | 
			
		||||
JsTypeMap.set('datetime', 'Date');
 | 
			
		||||
JsTypeMap.set('timestamp', 'Date');
 | 
			
		||||
JsTypeMap.set('timestamp without time zone', 'Date');
 | 
			
		||||
 | 
			
		||||
export const JsTypeList = [
 | 
			
		||||
  'Boolean', //
 | 
			
		||||
@@ -106,6 +108,7 @@ FrontComponentMap.set('longtext', 'Textarea');
 | 
			
		||||
FrontComponentMap.set('blob', 'FileUpload');
 | 
			
		||||
FrontComponentMap.set('date', 'Date');
 | 
			
		||||
FrontComponentMap.set('datetime', 'DateTime');
 | 
			
		||||
FrontComponentMap.set('timestamp without time zone', 'DateTime');
 | 
			
		||||
 | 
			
		||||
export function getFrontComponent(dataType) {
 | 
			
		||||
  return FrontComponentMap.get(dataType);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,15 @@
 | 
			
		||||
### 数据库脚本
 | 
			
		||||
默认数据库为Mysql,若为其他数据库,请关注:[SmartAdmin其他数据库](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
#### 第一次
 | 
			
		||||
如果是第一次部署,只需要执行 smart_admin_v3.sql 文件中的SQL语句即可;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### 更新
 | 
			
		||||
跟随 SmartAdmin更新,则需要执行 sql-update-log目录中的SQL脚本,需要按照文件版本从小到大执行;
 | 
			
		||||
序号| 数据库                                                               | 类型                 | 支持                  |  下载
 | 
			
		||||
-------- |-------------------------------------------------------------------|--------------------| -----  | ----
 | 
			
		||||
1| [Mysql](https://www.mysql.com)                                    | 国外                 | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://gitee.com/lab1024/smart-admin/tree/master/%E6%95%B0%E6%8D%AE%E5%BA%93SQL%E8%84%9A%E6%9C%AC/mysql) 
 | 
			
		||||
2| [PostgreSQL](https://www.postgresql.org/)                         | 国外                 | Java8+Java17都支持 ✔️  |  [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
3| [达梦数据库 DM8](https://www.dameng.com/DM8.html)                      | 国产                 | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
4| [电科(人大)金仓 KingBaseES](https://www.kingbase.com.cn)                | 国产    | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
5| [华为高斯 GaussDB](https://www.huaweicloud.com/product/gaussdb.html) | 国产 | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
6| [OpenGaussDB](https://opengauss.org/zh/)                      | 国产    | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
7| [神通数据库 ShenTong](http://www.shentongdata.com.cn/)             | 国产    | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
8| [海量数据库 VastData](https://www.vastdata.com.cn)               | 国产      | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
9| [海扬数据库 OceanBase](https://www.oceanbase.com/)                | 国产     | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
10| [阿里云 PolarDB](https://www.polardbx.com/)                     | 国产     | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										9
									
								
								数据库SQL脚本/mysql/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								数据库SQL脚本/mysql/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
### 数据库脚本
 | 
			
		||||
默认数据库为Mysql,若为其他数据库,请关注:[SmartAdmin其他数据库](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
#### 第一次
 | 
			
		||||
如果是第一次部署,只需要执行 smart_admin_v3.sql 文件中的SQL语句即可;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### 更新
 | 
			
		||||
跟随 SmartAdmin更新,则需要执行 sql-update-log目录中的SQL脚本,需要按照文件版本从小到大执行;
 | 
			
		||||
@@ -1,9 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 主流
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                       | 状态                | 下载
 | 
			
		||||
-------- |-------------------------------------------|-------------------| -----  
 | 
			
		||||
1| [Mysql](https://www.mysql.com)            | Java8+Java17 都支持 ✔️ | 
 | 
			
		||||
2| [PostgreSQL](https://www.postgresql.org/) | Java8+Java17都支持 ✔️   | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 国产数据库支持
 | 
			
		||||
 | 
			
		||||
序号| 数据库                                               | 支持                  |  下载
 | 
			
		||||
-------- |---------------------------------------------------| -----  | ----
 | 
			
		||||
1| [达梦数据库 DM8](https://www.dameng.com/DM8.html)      | Java8+Java17 都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/) 
 | 
			
		||||
2| [电科(人大)金仓KingBaseES](https://www.kingbase.com.cn) | Java8+Java17都支持 ✔️ | [下载代码和SQL](https://smartadmin.vip/views/other/china-db/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user