mybatis-plus添加设置
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.1.2</version>
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*Mapper.xml
type-aliases-package: com.****.entity
configuration:
cache-enabled: true
call-setters-on-nulls: false
global-config:
sql-parser-cache: true
db-config:
db-type: mysql
id-type: id_worker
logic-delete-value: 1
logic-not-delete-value: 0
banner: false