package cn.gyee.tamplate;

import cn.gyee.tamplate.service.analysis.AnalysisNewService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

/**
 * @ClassName : AnalysisTest
 * @Author : xieshengjie
 * @Date: 2021/4/16 10:34
 * @Description :
 */
@RunWith(SpringRunner.class)
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class AnalysisTest {
    @Resource
    private AnalysisNewService analysisNewService;

    @Test
    public void test3() throws  Exception{


//       analysisNewService.savaAnalysisGfmain("2021-04-01", "2021-04-22");
//        analysisNewService.saveAnalysisGfTableBottom("2021-04-01", "2021-04-22");
//        analysisNewService.savePvProject("2021-04-01", "2021-04-22");
//        analysisNewService.savePvStation("2021-04-01", "2021-04-22");


              //  analysisNewService.savaAnalysismain("2021-04-25", "2021-04-25");
//        analysisNewService.saveAnalysisTableBottom("2021-04-26", "2021-04-26");
//        analysisNewService.saveWindProject("2021-04-26", "2021-04-26");
//        analysisNewService.saveWindStation("2021-04-26", "2021-04-26");
//        analysisNewService.saveCompany("2021-04-26", "2021-04-26");



    }

}
