guoyuji
2024-01-22 bee470b90e31c1d22bebfc085e829034e7268f0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.example.erp.service;
 
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
 
@SpringBootTest
class IOrderServiceTest {
    @Autowired
    private IOrderService iOrderService;
    private StudentMapper studentMapper;
 
    @Test
    void  testGetOrderList() {
        // 测试获取订单列表的方法
        //System.out.println(iOrderService.getById(2));
        System.out.println(studentMapper.getStudentTeacher());
    }
}