From 718b43cfd331d3a1ef1799b9d6916163f3185eca Mon Sep 17 00:00:00 2001 From: yidao620 Date: Sat, 3 Mar 2018 17:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=9A=84=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- springboot-mybatis/pom.xml | 4 ---- springboot-mybatis/src/main/resources/application.yml | 6 +----- springboot-mybatis/src/main/resources/sql/schema.sql | 5 +---- 3 files changed, 2 insertions(+), 13 deletions(-) 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',