烟花爆竹推送丹灵系统数据服务
kongzy
2024-02-18 659ed87a1ec45c77cd1b6d02b6c97eee6077000d
src/test/java/com/gkhy/firework/TestDemo.java
@@ -1,10 +1,8 @@
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;
@@ -13,12 +11,12 @@
//@ActiveProfiles("dev")
@Slf4j
public class TestDemo {
    @Autowired
    private OrderSyncTask orderSyncTask;
    @Test
    public void testSync(){
        orderSyncTask.syncDLTask();
    public void testStr(){
        String idstr="65430119830313043X";
        System.out.println(idstr.substring(6,14));
    }
}