mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
增加 mybatis plus join 集成的修改建议
This commit is contained in:
@ -7,6 +7,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
// TODO @升平:是不是作为 YudaoMybatisAutoConfiguration 的 bean 即可呀?然后 getMethodList 不用重写
|
||||
@Configuration
|
||||
public class MybatisPlusJoinConfiguration extends JoinDefaultSqlInjector {
|
||||
|
||||
|
@ -17,6 +17,8 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* 在 MyBatis Plus 的 BaseMapper 的基础上拓展,提供更多的能力
|
||||
*
|
||||
* 为什么继承 JoinBaseMapper 接口?支持 MyBatis Plus 多表 Join 的能力。
|
||||
*/
|
||||
public interface BaseMapperX<T> extends JoinBaseMapper<T> {
|
||||
|
||||
|
Reference in New Issue
Block a user