feiyu02
2024-08-02 16b961c2210fe29fd494ac1f9d830dd93503961f
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
package cn.flightfeather.supervision.lightshare.service.impl
 
import cn.flightfeather.supervision.SupervisionApplication
import cn.flightfeather.supervision.lightshare.service.NightConstructionService
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.SpringJUnit4ClassRunner
 
@RunWith(SpringJUnit4ClassRunner::class)
@SpringBootTest(classes = [SupervisionApplication::class])
class NightConstructionImplTest {
 
    @Autowired
    lateinit var nightConstructionService: NightConstructionService
 
    @Test
    fun getRecord() {
        val r = nightConstructionService.getRecord("3100", "310106", 1, 10)
        println(r)
    }
 
    @Test
    fun getNightWorkFile() {
    }
 
    @Test
    fun signFile() {
    }
 
    @Test
    fun getSummary() {
        val r = nightConstructionService.getSummary("3100", "310106")
        println(r)
    }
}