|
|
@@ -402,7 +402,7 @@ public class NewTests {
|
|
|
task.calcTurbineRFDL(t1, t2);
|
|
|
//task.calcStationRfdlFj(b1);
|
|
|
//task.calcHaBbHz(date);
|
|
|
- //task.calcHaBbHzSs(date, b2);
|
|
|
+ task.calcHaBbHzSs(date, b2);
|
|
|
//task.calcRYNxdl(b, date);
|
|
|
//task.calcTurbineJfplFxYxfssBll(date, b2);
|
|
|
|
|
|
@@ -482,7 +482,7 @@ public class NewTests {
|
|
|
//task.calcStationCftfsfxQfxdl(date);
|
|
|
//task.calcTurbineStateMin(date);
|
|
|
//task.haxdRecalc(date);
|
|
|
- //task.calcTurbine5s(begin1, end1, 0.1);
|
|
|
+ task.calcTurbine5s(begin1, end1, 0.1);
|
|
|
|
|
|
//task.calcLineRfdl_ha(date);
|
|
|
//task.haxdRecalc(date);
|
|
|
@@ -501,18 +501,20 @@ public class NewTests {
|
|
|
|
|
|
@Test
|
|
|
public void test14() {
|
|
|
- DateTime start = DateUtil.parse("2025-07-22");
|
|
|
- DateTime end = DateUtil.parse("2025-07-22");
|
|
|
+ DateTime start = DateUtil.parse("2025-01-01");
|
|
|
+ DateTime stop = DateUtil.parse("2025-11-05");
|
|
|
//String select4 = SqlUtil.getSelectAvg("qfxdl") + SqlUtil.getSelectSum("rfdl,rfdl_fj,kqmd,hjwd");
|
|
|
- DateRange range = DateUtil.range(start, end, DateField.DAY_OF_YEAR);
|
|
|
- for (DateTime date : range) {
|
|
|
- System.out.println(date);
|
|
|
+ DateRange range = DateUtil.range(start, stop, DateField.DAY_OF_YEAR);
|
|
|
+ for (DateTime begin : range) {
|
|
|
+ System.out.println(begin);
|
|
|
//List<StationInfoDay> sidR = stationInfoDayService.getDatasByPartSelects(date, DatePart.DAY, select4, "station_id");
|
|
|
//List<StationInfoDay> sidY = stationInfoDayService.getDatasByPartSelects(date, DatePart.MONTH, select4, "station_id");
|
|
|
|
|
|
//task.calcStationZhcydl(date, DateUtil.endOfDay(date));
|
|
|
- task.calcHaBbHzSs(date, DateUtil.endOfDay(date));
|
|
|
- task.calcStationZql(date, DateUtil.endOfDay(date));
|
|
|
+ DateTime end = DateUtil.endOfDay(begin);
|
|
|
+ //task.calcHaBbHzSs(begin, end);
|
|
|
+ //task.calcStationZql(begin, end);
|
|
|
+ task.calcProjectMonthInfo(begin, end);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -672,4 +674,14 @@ public class NewTests {
|
|
|
task2.calcStationKqmdLjTs(begin, end);
|
|
|
System.out.println();
|
|
|
}
|
|
|
+ @Test
|
|
|
+ public void test68() {
|
|
|
+ Date date = DateUtil.date();
|
|
|
+ //DateTime yesterday = DateUtil.yesterday();
|
|
|
+ DateTime yesterday = DateUtil.parse("2025-10-31");
|
|
|
+ DateTime begin = DateUtil.beginOfDay(yesterday);
|
|
|
+ DateTime end = DateUtil.endOfDay(yesterday);
|
|
|
+ task.calcProjectMonthInfo(begin, end);
|
|
|
+ System.out.println();
|
|
|
+ }
|
|
|
}
|