yulichang / mybatis-plus-join

支持连表查询的mybatis-plus,mybatis-plus风格的连表操作提供wrapper.leftJoin(),wrapper.rightJoin()等操作
https://yulichang.github.io/mybatis-plus-join-doc/
Apache License 2.0
990 stars 115 forks source link

引入了mybatis-plus-join,原先的代码启动报错 #70

Closed zhoujin2017 closed 6 months ago

zhoujin2017 commented 10 months ago

'com.baomidou.mybatisplus.core.injector.ISqlInjector' available: expected single matching bean but found 2,原因是ISqlInjector的bean创建了两个

zhoujin2017 commented 10 months ago

mpjSqlInjectorOnMiss,sqlInjector

yulichang commented 6 months ago

自定义sql注入器 加个 @Primary 注解 https://mybatisplusjoin.com/pages/problem.html#%E8%87%AA%E5%AE%9A%E4%B9%89sql%E6%B3%A8%E5%85%A5%E5%99%A8