小的修正
This commit is contained in:
parent
4d54bc955f
commit
718b43cfd3
@ -30,10 +30,6 @@
|
|||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
@ -9,7 +9,7 @@ spring:
|
|||||||
|
|
||||||
################### mybatis-plus配置 ###################
|
################### mybatis-plus配置 ###################
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath*:com/xncoding/pos/dao/repository/mapping/*.xml
|
mapper-locations: classpath*:com/xncoding/pos/common/dao/repository/mapping/*.xml
|
||||||
typeAliasesPackage: >
|
typeAliasesPackage: >
|
||||||
com.xncoding.pos.common.dao.entity
|
com.xncoding.pos.common.dao.entity
|
||||||
global-config:
|
global-config:
|
||||||
@ -37,8 +37,6 @@ spring:
|
|||||||
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
|
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
thymeleaf:
|
|
||||||
cache: false
|
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
@ -59,8 +57,6 @@ spring:
|
|||||||
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
|
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
thymeleaf:
|
|
||||||
cache: false
|
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# -------------------------------------以下业务表开始-------------------------------------------
|
|
||||||
# CREATE DATABASE IF NOT EXISTS pos default charset utf8 COLLATE utf8_general_ci;
|
# CREATE DATABASE IF NOT EXISTS pos default charset utf8 COLLATE utf8_general_ci;
|
||||||
# SET FOREIGN_KEY_CHECKS=0;
|
# SET FOREIGN_KEY_CHECKS=0;
|
||||||
# USE pos;
|
# USE pos;
|
||||||
|
|
||||||
# -------------------------------------以下用户管理表开始-------------------------------------------
|
-- 用户表
|
||||||
|
|
||||||
-- 后台管理用户表
|
|
||||||
DROP TABLE IF EXISTS `t_user`;
|
DROP TABLE IF EXISTS `t_user`;
|
||||||
CREATE TABLE `t_user` (
|
CREATE TABLE `t_user` (
|
||||||
`id` INT(11) PRIMARY KEY AUTO_INCREMENT COMMENT '主键ID',
|
`id` INT(11) PRIMARY KEY AUTO_INCREMENT COMMENT '主键ID',
|
||||||
|
Loading…
Reference in New Issue
Block a user