lige
2023-12-11 58bd4f3a3a2a45544203ab605836667c4af38d76
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
34
35
36
37
38
39
40
41
42
import com.ltkj.LtkjApplication;
import com.ltkj.hosp.domain.SqlTest;
import com.ltkj.hosp.mapper.TestMapper;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
 
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
 
/**
 * @Company: 西安路泰科技有限公司
 * @Author: lige
 * @Date: 2023/11/16 16:42
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = LtkjApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@Slf4j
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
public class lgTest {
 
    @Resource
    private TestMapper testMapper;
    @Test
    public void lige() {
        final SqlTest list = testMapper.getList();
        System.out.println(list);
    }
 
    public static void main(String[] args) {
        Long a=12L;
        final long l = a + 10000;
        final String s = "V" + l;
        System.out.println(s);
 
    }
}