廖井涛
2024-01-22 2bf272a9d41a2b6c67910b23371af9537a9153a5
north-glass-erp/src/test/java/com/example/erp/service/IOrderServiceTest.java
New file
@@ -0,0 +1,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());
    }
}