spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
username:
password:
url: jdbc:mysql://localhost:3306/数据库名?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
mybatis-plus:
type-aliases-package: 实体类路径
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
auto-mapping-behavior: full
mapper-locations: mapper/xml/*.xml
# xml文件再resources下
# mapper-locations: mapper/xml/*.xml
# xml文件在java文件下
# config-locations: classpath:/com/lxs/mapper/xml/*.xml