package com.malk.zhongche;

import com.malk.zhongche.service.ZhongcheService;
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;

@Slf4j
@SpringBootTest
@RunWith(SpringRunner.class)
public class ZcTest {
    @Autowired
    private ZhongcheService zhongcheService;

    @Test
    //刷新所有项目末级任务的任务类型
    public void test(){
        zhongcheService.updateLastTaskSfc();
    }
}
