mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
OneToOne OneToMany
This commit is contained in:
parent
2080d67d4d
commit
46e6e64579
@ -59,7 +59,7 @@ public class UserDO {
|
||||
* 一对多
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@MPJMapping(tag = UserAddressDO.class, thisField = "id", joinField = "pid")
|
||||
@MPJMapping(tag = UserDO.class, thisField = "id", joinField = "pid")
|
||||
private List<UserDO> childUserList;
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user