peng
2025-06-14 59e297cc9d51ef9c6df0dac71664bf1b492fc941
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package cn.lili.test.order;
 
import cn.lili.modules.order.order.service.OrderService;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringExtension;
 
/**
 * @author paulG
 * @since 2020/12/1
 **/
@ExtendWith(SpringExtension.class)
@SpringBootTest
class OrderServiceTest {
 
    @Autowired
    private OrderService orderService;
 
 
    @Test
    void QueryParam() {
//       OrderSearchParams orderSearchParams = new OrderSearchParams();
//       orderSearchParams.setPageSize(0);
//       orderSearchParams.setPageNumber(10);
//       IPage<OrderSimpleVO> orderVOIPage = orderService.queryByParams(orderSearchParams);
//       Assertions.assertNotNull(orderVOIPage);
//       orderVOIPage.getRecords().forEach(System.out::println);
    }
 
 
}