This commit is contained in:
yulichang 2023-01-10 17:42:58 +08:00
parent 83585c075f
commit b45094d1ea
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
},
{
"name": "mybatis-plus-join.join-prefix",
"defaultValue": "t",
"defaultValue": "join",
"type": "java.lang.String",
"description": "重复字段前缀."
}

View File

@ -481,8 +481,8 @@ class LambdaWrapperTest {
.leftJoin(AddressDO.class, AddressDO::getId, UserDO::getAddressId2);
List<UserDO> list = userMapper.selectJoinList(UserDO.class, wrapper);
assert list.get(0).getAddressList().get(0).getAddress()!= null;
assert list.get(0).getAddressList2().get(0).getAddress()!= null;
assert list.get(0).getAddressList().get(0).getAddress() != null;
assert list.get(0).getAddressList2().get(0).getAddress() != null;
System.out.println(list);
}