mybatis-plus-join/plugin/mybatis-plus-join-solon-plugin
dependabot[bot] 280e9901ed chore(deps): bump solon.varrsion from 2.9.3 to 2.9.4
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>
2024-09-24 04:28:31 +08:00
..
2024-07-30 15:55:43 +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 {

}