2020年8月9日

MybatisPlus快速入手-----逆向工程

摘要: public class getCode { @Test public void main1() { // 1、创建代码生成器 AutoGenerator mpg = new AutoGenerator(); // 2、全局配置 GlobalConfig gc = new GlobalConfig( 阅读全文

posted @ 2020-08-09 22:31 白嫖老郭 阅读(281) 评论(0) 推荐(0) 编辑

springboot +mybatis (@autowried 注入mapper :爆红)

摘要: 问题描述:Could not autowire. No beans of XXXXmapper' type found 问题相关页面: 解决方式一:@mapper 接口计入@Repository 解决方式二:不使用@Autowried。改用@Resource 阅读全文

posted @ 2020-08-09 22:04 白嫖老郭 阅读(959) 评论(0) 推荐(1) 编辑

导航