【SpringBoot|MyBatisPlus】自动装配遇到的坑
在基于MP搭建新项目的时候,使用Mapper层继承BaseMapper,service层接口继承IService,实现类继承ServiceImpl并实现继承了IService接口的接口。大概是这样一个结构://Entityclass Xxx{}//Mapper@Mapperinterface XxxMapper extends BaseMapper<Xxx> {}//Serviceinterface XxxService extends IService<Xxx&
原创
2021-10-26 00:15:04 ·
1394 阅读 ·
0 评论