diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 376ce1f5a461ace7c44e704453c4e21ab70fb9c6..899fa0f878d796eab1149fcd1f19d715f693e513 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,6 +4,6 @@ spring: url: jdbc:mysql://localhost:3306/testmp?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true username: root password: root -mybatis-plus: +mybatis-plus: #此配置将mybatis plus的sql输出到控制台 configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl diff --git a/src/main/resources/schame.sql b/src/main/resources/schame.sql index fcbec69a2792df571e817018ac7337474599681a..c5524839268462da3efdf6eeeb28d5b3e8f699ed 100644 --- a/src/main/resources/schame.sql +++ b/src/main/resources/schame.sql @@ -20,5 +20,5 @@ create table company( INSERT INTO company VALUES('e3805e02c64911e8a355529269fb1459','济南曜派'); INSERT INTO company VALUES('148e855ac64a11e8a355529269fb1459','上海曜派'); -INSERT into user(id,name,sex,age,email,company_id)VALUES ('c03c327cc64911e8a355529269fb1459','孟宪厚',0,24,'blf20822@126.com','e3805e02c64911e8a355529269fb1459'); -insert into user(id,name,sex,age,email,company_id)VALUES ('49e3f8c0c64a11e8a355529269fb1459','任梦笛',1,22,'rmd@126.com','148e855ac64a11e8a355529269fb1459'); \ No newline at end of file +INSERT into user(id,name,sex,age,email,company_id)VALUES ('c03c327cc64911e8a355529269fb1459','孟孟',0,24,'blf20822@126.com','e3805e02c64911e8a355529269fb1459'); +insert into user(id,name,sex,age,email,company_id)VALUES ('49e3f8c0c64a11e8a355529269fb1459','任小笛',1,22,'rmd@126.com','148e855ac64a11e8a355529269fb1459'); \ No newline at end of file