wzy
2022-08-14 b141df9bf9764db8567efebed48006e12ab1f657
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
package com.xzx.order;
 
import com.xzx.gc.GcOrderApplication;
import com.xzx.gc.order.service.DistribService;
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.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;
 
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {GcOrderApplication.class})
@ActiveProfiles(profiles = {"xc"})
public class XcTest {
 
 
    @Autowired
    DistribService distribService;
 
    @Test
    public void distribTest() {
        distribService.distribRecord(740L, "YH1402174298026016768");
    }
}