Skip to content

Commit 718b43c

Browse files
committed
小的修正
1 parent 4d54bc9 commit 718b43c

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

springboot-mybatis/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
</properties>
3131

3232
<dependencies>
33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-jdbc</artifactId>
36-
</dependency>
3733
<dependency>
3834
<groupId>mysql</groupId>
3935
<artifactId>mysql-connector-java</artifactId>

springboot-mybatis/src/main/resources/application.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spring:
99

1010
################### mybatis-plus配置 ###################
1111
mybatis-plus:
12-
mapper-locations: classpath*:com/xncoding/pos/dao/repository/mapping/*.xml
12+
mapper-locations: classpath*:com/xncoding/pos/common/dao/repository/mapping/*.xml
1313
typeAliasesPackage: >
1414
com.xncoding.pos.common.dao.entity
1515
global-config:
@@ -37,8 +37,6 @@ spring:
3737
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
3838
username: root
3939
password: 123456
40-
thymeleaf:
41-
cache: false
4240

4341
logging:
4442
level:
@@ -59,8 +57,6 @@ spring:
5957
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
6058
username: root
6159
password: 123456
62-
thymeleaf:
63-
cache: false
6460

6561
logging:
6662
level:

springboot-mybatis/src/main/resources/sql/schema.sql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# -------------------------------------以下业务表开始-------------------------------------------
21
# CREATE DATABASE IF NOT EXISTS pos default charset utf8 COLLATE utf8_general_ci;
32
# SET FOREIGN_KEY_CHECKS=0;
43
# USE pos;
54

6-
# -------------------------------------以下用户管理表开始-------------------------------------------
7-
8-
-- 后台管理用户表
5+
-- 用户表
96
DROP TABLE IF EXISTS `t_user`;
107
CREATE TABLE `t_user` (
118
`id` INT(11) PRIMARY KEY AUTO_INCREMENT COMMENT '主键ID',

0 commit comments

Comments
 (0)