因为Spring没有收录MP,所以要自己添加MP坐标
修改dao层
public interface BookDao extends baseMapper
修改配置文件
spring: datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/ssm_db username: root password: 123456mybatis-plus: global-config: db-config: table-prefix: tbl_