|
@@ -7,6 +7,8 @@ import com.gyee.gradeevaluation.service.mttrmtbf.MTTRMTBFTaskService;
|
|
import com.gyee.gradeevaluation.service.specific.SpecificService;
|
|
import com.gyee.gradeevaluation.service.specific.SpecificService;
|
|
import com.gyee.gradeevaluation.service.targetdata.TargetdataService;
|
|
import com.gyee.gradeevaluation.service.targetdata.TargetdataService;
|
|
import com.gyee.gradeevaluation.util.DateUtils;
|
|
import com.gyee.gradeevaluation.util.DateUtils;
|
|
|
|
+import com.gyee.gradeevaluation.util.golden.EdosUtil;
|
|
|
|
+import com.gyee.gradeevaluation.util.golden.IEdosUtil;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.junit.runner.RunWith;
|
|
import org.junit.runner.RunWith;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -49,9 +51,19 @@ class GradeevaluationApplicationTests {
|
|
// quartService.saveWindturbineinfodaytop3("2021-10-01","2021-10-13");
|
|
// quartService.saveWindturbineinfodaytop3("2021-10-01","2021-10-13");
|
|
// quartService.saveEvaluationSub("2021-10-01","2021-10-13");
|
|
// quartService.saveEvaluationSub("2021-10-01","2021-10-13");
|
|
// quartService.saveEvaluationMain("2021-10-01","2021-10-13");
|
|
// quartService.saveEvaluationMain("2021-10-01","2021-10-13");
|
|
- mttrmtbfTaskService.saveWpMttrAndMtbfDay(date,date);
|
|
|
|
- mttrmtbfTaskService.saveWpMttrAndMtbMonth(date,date);
|
|
|
|
- mttrmtbfTaskService.saveWpMttrAndMtbfYear(date,date);
|
|
|
|
|
|
+// mttrmtbfTaskService.saveWpMttrAndMtbfDay(date,date);
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-01-31","2021-01-31");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-02-28","2021-02-28");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-03-31","2021-03-31");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-04-30","2021-04-30");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-05-31","2021-05-31");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-06-30","2021-06-30");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-07-31","2021-07-31");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-08-31","2021-08-31");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-09-30","2021-09-30");
|
|
|
|
+ mttrmtbfTaskService.saveWpMttrAndMtbMonth("2021-10-31","2021-10-31");
|
|
|
|
+
|
|
|
|
+// mttrmtbfTaskService.saveWpMttrAndMtbfYear(date,date);
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|
|
@@ -68,4 +80,11 @@ class GradeevaluationApplicationTests {
|
|
// specificService.saveWindpowerspecificinfoday("2020-05-02","2020-06-01");
|
|
// specificService.saveWindpowerspecificinfoday("2020-05-02","2020-06-01");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ @Test
|
|
|
|
+ void contextLoads2() throws ParseException, UnsupportedEncodingException, JsonProcessingException {
|
|
|
|
+
|
|
|
|
+ IEdosUtil edosUtil = new EdosUtil();
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|