烟花爆竹推送丹灵系统数据服务
kongzy
2024-02-04 b7ab1afc34a907beea8e3e5d69bad4a95aacba8f
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.firework;
 
import com.gkhy.firework.schedule.OrderSyncTask;
import lombok.extern.slf4j.Slf4j;
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(classes = FireworkApplication.class)
//@ActiveProfiles("dev")
@Slf4j
public class TestDemo {
    @Autowired
    private OrderSyncTask orderSyncTask;
 
 
    @Test
    public void testSync(){
        orderSyncTask.syncDLTask();
    }
}