mybatis-plus-join/plugin/mybatis-plus-join-solon-plugin
dependabot[bot] 951316e84f chore(deps): bump solon.version from 2.9.4 to 3.0.1
Bumps `solon.version` from 2.9.4 to 3.0.1.

Updates `org.noear:solon` from 2.9.4 to 3.0.1
- [Release notes](https://github.com/noear/solon/releases)
- [Commits](https://github.com/noear/solon/commits)

Updates `org.noear:mybatis-solon-plugin` from 2.9.4 to 3.0.1

Updates `org.noear:mybatis-plus-extension-solon-plugin` from 2.9.4 to 3.0.1

---
updated-dependencies:
- dependency-name: org.noear:solon
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.noear:mybatis-solon-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.noear:mybatis-plus-extension-solon-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 13:35:32 +08:00
..
2024-10-08 10:56:13 +08:00
2024-07-16 03:50:41 +08:00

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 {

}