|
@@ -85,7 +85,7 @@ public class ParsingDqInfoServiceImpl extends ServiceImpl<ParsingDqInfoMapper, P
|
|
|
|
|
|
if (bigDecimals.size() > 0) {
|
|
|
|
|
|
- LocalDate genDate = parsingGenDate(parsingDqInfo.getGenDate(), fileContent);
|
|
|
+// LocalDate genDate = parsingGenDate(parsingDqInfo.getGenDate(), fileContent);
|
|
|
Long forecastTime = parsingForecastTime(parsingDqInfo.getForecastTime(), fileContent);
|
|
|
long secondDayTime = com.jiayue.ipp.idp.util.DateMomentUtil.getDayStartTime(System.currentTimeMillis())+1000*60*60*24;
|
|
|
if (forecastTime==secondDayTime){
|
|
@@ -94,7 +94,7 @@ public class ParsingDqInfoServiceImpl extends ServiceImpl<ParsingDqInfoMapper, P
|
|
|
for (BigDecimal bigDecimal : bigDecimals) {
|
|
|
Date forecastDate = new Date(forecastTime);
|
|
|
ForecastPowerShortTermHis forecastPowerShortTermHis = new ForecastPowerShortTermHis();
|
|
|
- forecastPowerShortTermHis.setGenDate(genDate);
|
|
|
+ forecastPowerShortTermHis.setGenDate(new Date());
|
|
|
forecastPowerShortTermHis.setStationCode(parsingUrl.getStationCode());
|
|
|
forecastPowerShortTermHis.setAbleValue(bigDecimal);
|
|
|
forecastPowerShortTermHis.setForecastTime(forecastDate);
|
|
@@ -106,7 +106,7 @@ public class ParsingDqInfoServiceImpl extends ServiceImpl<ParsingDqInfoMapper, P
|
|
|
forecastPowerShortTerm.setForecastTime(forecastDate);
|
|
|
forecastPowerShortTerm.setStationCode(parsingUrl.getStationCode());
|
|
|
forecastPowerShortTerm.setFpValue(bigDecimal);
|
|
|
- forecastPowerShortTerm.setGenDate(forecastDate);
|
|
|
+ forecastPowerShortTerm.setGenDate(new Date());
|
|
|
forecastPowerShortTerm.setForecastManufactor(parsingUrl.getForecastManufactor());
|
|
|
forecastPowerShortTermList.add(forecastPowerShortTerm);
|
|
|
|