mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
Bumps `solon.varrsion` from 2.9.3 to 2.9.4. Updates `org.noear:solon` from 2.9.3 to 2.9.4 - [Release notes](https://github.com/noear/solon/releases) - [Commits](https://github.com/noear/solon/commits) Updates `org.noear:mybatis-solon-plugin` from 2.9.3 to 2.9.4 Updates `org.noear:mybatis-plus-extension-solon-plugin` from 2.9.3 to 2.9.4 --- updated-dependencies: - dependency-name: org.noear:solon dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.noear:mybatis-solon-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.noear:mybatis-plus-extension-solon-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
mybatis-plus-join-solon-plugin
<dependency>
<groupId>com.github.yulichang</groupId>
<artifactId>mybatis-plus-join-solon-plugin</artifactId>
<version>lastVersion</version>
</dependency>
Tips:
solon 2.8.0 需要添加如下配置(此问题会在 MPJ 1.4.13+ 解决)
mybatis.db1:
globalConfig:
sqlInjector: com.github.yulichang.injector.MPJSqlInjector
mapper继承MPJBaseMapper
import com.github.yulichang.base.MPJBaseMapper;
@Mapper
public interface UserMapper extends MPJBaseMapper<UserDO> {
}
(可选)service继承MPJBaseService
import com.github.yulichang.mybatisplusjoin.solon.plugin.base.MPJBaseService;
public interface UserService extends MPJBaseService<UserDO> {
}
(可选)serviceImpl继承MPJBaseServiceImpl
import com.github.yulichang.mybatisplusjoin.solon.plugin.base.MPJBaseServiceImpl;
import org.noear.solon.annotation.Component;
@Component
public class UserServiceImpl extends MPJBaseServiceImpl<UserMapper, UserDO> implements UserService {
}