test: selectListWithRelationsByQueryAs

This commit is contained in:
开源海哥 2023-07-21 09:56:22 +08:00
parent 82256b2aef
commit adc9c1083f

View File

@ -94,6 +94,12 @@ public class RelationsTester {
System.out.println(">>>>>>2: " + accounts);
}
@Test
public void testAsDto() {
List<AccountDTO> accounts = accountMapper.selectListWithRelationsByQueryAs(QueryWrapper.create(), AccountDTO.class);
System.out.println(">>>>>>1: " + accounts);
}
@Test
public void testMenu() {
QueryWrapper qw = QueryWrapper.create();