1
hao
2025-05-20 8e24c6fea30d9b179375ee2893710cdec2443b13
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.ansel;
 
import java.util.Calendar;
import java.util.List;
import java.util.TimeZone;
 
import org.junit.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.junit4.SpringRunner;
 
@RunWith(SpringRunner.class)
@SpringBootTest
public class LogisticsApplicationTests {
    
/*    @Autowired
    private IUserDao userDao;
    
    
    @Autowired
    private IEmployeeDao employeeDao;
    
    @Autowired
    private IRouteService routeService;
    
    @Autowired
    private IRegionDao regionDao;
    
    @Autowired
    private IRouteInfoDao routeInfoDao;
    
    @Autowired
    private IGoodsBillDao goodsBillDao;*/
 
    @Test
    public void contextLoads() {
 
    }
 
//    @Test
//    public void test1() {
//        User user = userDao.findByLoginId("test01");
//        System.out.println(user);
//    }
//    
//    @Test
//    public void test2() {
//        Employee employee = employeeDao.findByEmployeeCode("2015");
//        System.out.println(employee);
//    }
//    
//    @Test
//    public void test3() {
//        String password = Enctype.MD5("123456");
//        System.out.println(password);
//    }
//    
//    @Test
//    public void test4() {
//        User user = new User();
//        user.setLoginId("PJ70405");
//        userDao.delete(user);
//    }
//    
//    @Test
//    public void test5() {
//        employeeDao.updateDepartment("财务组", "财务xx");
//    }
//    
//    @Test
//    public void test6() {
//        routeService.generateRoute();
//    }
//    
//    @Test
//    public void test7() {
//        List<Region> regions = regionDao.findLeftRegions();
//        System.out.println(regions);
//    }
//    
//    @Test
//    public void test8() {
//        routeInfoDao.truncateTable();
//    }
//    
//    @Test
//    public void test9() {
////        Date date = new Date();
//        Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT+08:00"));
//        System.out.println(calendar.get(Calendar.MONTH)+1);
//    }
//    
//    @Test
//    public void test10() {
//        List<GoodsBill> list = goodsBillDao.transferState("未到车辆", "SJ311122");
//        System.out.println(list);
//    }
 
//    @Test
//    public void test11() {
//        FunctionWithGroup functionWithGroup = functionWithGroupDao.findByFunctionIdAndGroupId(1, 2);
//        System.out.println(functionWithGroup);
//    }
}