mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
test: 测试属性查询。
This commit is contained in:
parent
07aaaf353c
commit
ad5373a659
@ -157,11 +157,12 @@ class UserMapperTest {
|
||||
.where(USER_ROLE.USER_ID.eq(userInfo.getUserId()))
|
||||
),
|
||||
c -> c.field(UserInfo::getOrderInfoList).queryWrapper(userInfo ->
|
||||
QueryWrapper.create()
|
||||
/*QueryWrapper.create()
|
||||
.select()
|
||||
.from(ORDER.as("o"))
|
||||
.leftJoin(USER_ORDER).as("uo").on(USER_ORDER.ORDER_ID.eq(ORDER.ORDER_ID))
|
||||
.where(USER_ORDER.USER_ID.eq(userInfo.getUserId()))
|
||||
.where(USER_ORDER.USER_ID.eq(userInfo.getUserId()))*/
|
||||
null
|
||||
),
|
||||
c -> c.nestedField(OrderInfo::getGoodList).prevent().queryWrapper(orderInfo ->
|
||||
QueryWrapper.create()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user