12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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-07-10", "2021-08-02");
- // analysisNewService.savePvProject("2021-04-01", "2021-04-22");
- // analysisNewService.savePvStation("2021-04-01", "2021-04-22");
- // analysisNewService.saveAnalysisTableBottom("2021-10-28", "2021-10-28");
- // analysisNewService.savePvProject("2021-10-29", "2021-10-29");
- // analysisNewService.savePvStation("2021-10-29", "2021-10-29");
- analysisNewService.savePvProject("2021-11-22", "2021-11-22");
- analysisNewService.savePvStation("2021-11-22", "2021-11-22");
- // analysisNewService.savaAnalysismain("2021-04-25", "2021-04-25");
- // analysisNewService.saveAnalysisTableBottom("2021-07-10", "2021-08-02");
- // analysisNewService.saveWindProject("2021-10-30", "2021-10-30");
- // analysisNewService.saveWindStation("2021-04-26", "2021-04-26");
- // analysisNewService.saveCompany("2021-04-26", "2021-04-26");
- }
- }
|