diff --git a/springboot-mybatis/pom.xml b/springboot-mybatis/pom.xml index cb7c294..7d47898 100644 --- a/springboot-mybatis/pom.xml +++ b/springboot-mybatis/pom.xml @@ -30,10 +30,6 @@ - - org.springframework.boot - spring-boot-starter-jdbc - mysql mysql-connector-java diff --git a/springboot-mybatis/src/main/resources/application.yml b/springboot-mybatis/src/main/resources/application.yml index 8d633b2..9fda35d 100644 --- a/springboot-mybatis/src/main/resources/application.yml +++ b/springboot-mybatis/src/main/resources/application.yml @@ -9,7 +9,7 @@ spring: ################### 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: > com.xncoding.pos.common.dao.entity 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 username: root password: 123456 - thymeleaf: - cache: false logging: 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 username: root password: 123456 - thymeleaf: - cache: false logging: level: diff --git a/springboot-mybatis/src/main/resources/sql/schema.sql b/springboot-mybatis/src/main/resources/sql/schema.sql index b332fb1..9b7a571 100644 --- a/springboot-mybatis/src/main/resources/sql/schema.sql +++ b/springboot-mybatis/src/main/resources/sql/schema.sql @@ -1,11 +1,8 @@ -# -------------------------------------以下业务表开始------------------------------------------- # CREATE DATABASE IF NOT EXISTS pos default charset utf8 COLLATE utf8_general_ci; # SET FOREIGN_KEY_CHECKS=0; # USE pos; -# -------------------------------------以下用户管理表开始------------------------------------------- - --- 后台管理用户表 +-- 用户表 DROP TABLE IF EXISTS `t_user`; CREATE TABLE `t_user` ( `id` INT(11) PRIMARY KEY AUTO_INCREMENT COMMENT '主键ID',