diff --git a/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/relation/onetoone/RelationsTester.java b/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/relation/onetoone/RelationsTester.java index ea72106a..2fcd505b 100644 --- a/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/relation/onetoone/RelationsTester.java +++ b/mybatis-flex-test/mybatis-flex-native-test/src/main/java/com/mybatisflex/test/relation/onetoone/RelationsTester.java @@ -94,6 +94,12 @@ public class RelationsTester { System.out.println(">>>>>>2: " + accounts); } + @Test + public void testAsDto() { + List accounts = accountMapper.selectListWithRelationsByQueryAs(QueryWrapper.create(), AccountDTO.class); + System.out.println(">>>>>>1: " + accounts); + } + @Test public void testMenu() { QueryWrapper qw = QueryWrapper.create();