|
@@ -66,7 +66,7 @@ public class AnalysisNewService {
|
|
|
calendar.set(Calendar.MILLISECOND, 0);
|
|
|
|
|
|
// 设置 beginDate 为前一天的0点
|
|
|
- calendar.add(Calendar.DAY_OF_MONTH, -11);
|
|
|
+ calendar.add(Calendar.DAY_OF_MONTH, -1);
|
|
|
Date beginDate = calendar.getTime();
|
|
|
|
|
|
// 设置 endDate 为当天的0点
|
|
@@ -77,9 +77,9 @@ public class AnalysisNewService {
|
|
|
for (ProBasicPowerstation wp : CacheContext.wpls) {
|
|
|
|
|
|
// 补充数据可将其打开
|
|
|
- if (wp.getId().equals("SXJ_KGDL_GJY_FDC_STA")) {
|
|
|
-
|
|
|
- for (int g = 0; g <= 42; g++) {
|
|
|
+// if (wp.getId().equals("SXJ_KGDL_GJY_FDC_STA")) {
|
|
|
+//
|
|
|
+// for (int g = 0; g <= 42; g++) {
|
|
|
|
|
|
List<ProBasicMeterPoint> meterPoints = proBasicMeterPointService.getBaseMapper().selectList(null);
|
|
|
|
|
@@ -118,11 +118,11 @@ public class AnalysisNewService {
|
|
|
proEconAnalysisSubtableBottomService.batchAdd(stringList);
|
|
|
}
|
|
|
}
|
|
|
- beginDate = DateUtils.addDays(beginDate, -1);
|
|
|
- calendar.add(Calendar.DAY_OF_MONTH, -1);
|
|
|
- endDate = calendar.getTime();
|
|
|
- }
|
|
|
- }
|
|
|
+// beginDate = DateUtils.addDays(beginDate, -1);
|
|
|
+// calendar.add(Calendar.DAY_OF_MONTH, -1);
|
|
|
+// endDate = calendar.getTime();
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
|
|
|
}
|