Procházet zdrojové kódy

预测发电量代码逻辑优化

fanxiaoyu před 4 měsíci
rodič
revize
3e9741e26d

+ 3 - 3
cpp-admin/src/main/java/com/cpp/web/service/powerGeneation/impl/DayPowerGenerationServiceImpl.java

@@ -48,11 +48,11 @@ public class DayPowerGenerationServiceImpl extends ServiceImpl<DayPowerGeneratio
     private final AccuracyPassRateService accuracyPassRateService;
 
     private final ForecastPowerShortTermRegulationService forecastPowerShortTermRegulationService;
-    private final String dateFormat = new SimpleDateFormat("yyyy-MM-dd").format(new Date());
+    private  String dateFormat = new SimpleDateFormat("yyyy-MM-dd").format(new Date());
 
-    private final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
+    private  SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
 
-    private final Long oneDay = 86400000L;
+    private  Long oneDay = 86400000L;
 
     @Override
     public DayPowerGeneration findByStationCodeAndGenDate(String stationCode, Date genDate) {