“djh”
5 天以前 5ca4ab349909030e77354832287f2d6a2c80e119
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.gkhy.exam.admin;
 
import com.gkhy.exam.system.service.SysCommonService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;
 
@RunWith(SpringRunner.class)
@SpringBootTest(classes = GkhyAdminApplication.class)
@ActiveProfiles("dev")
@Slf4j
public class ExcelTest {
    @Autowired
    private SysCommonService commonService;
 
    @Test
    public void importTest(){
     //   commonService.importStudent();
    }
}