abel533 / MyBatis-Spring-Boot

Spring Boot集成MyBatis的基础项目
3.37k stars 1.59k forks source link

该项目是否用了MBG #143

Open houjq3 opened 6 years ago

houjq3 commented 6 years ago

Country、City都是继承了BaseEntity,该项目我自己用MBG生成的类和xml都和你的有出入,整个项目是不是没有用到MBG?还是生成完又手改过?

abel533 commented 6 years ago

配置 <table> 的 `rootClass,能搜到的情况下不会生成父类的属性。

abel533 commented 6 years ago

https://blog.csdn.net/isea533/article/details/81836136

这里提供的视频中有说明。