燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-11-20 8185e5cdc2bbdf7fb4ca46a10864106893a01ed3
src/main/java/com/yssh/service/CountService.java
@@ -7,6 +7,7 @@
import java.util.HashMap;
import java.util.Map;
import com.yssh.config.InitConfig;
import com.yssh.utils.DateUtils;
import org.springframework.stereotype.Service;
@@ -25,7 +26,7 @@
   public Map<String, Double> selectAccuracyAvg() {
      Map<String, Double> result = new HashMap<String, Double>();
      Date nowDate = DateUtils.getNowDate();
      Date nowDate = InitConfig.getDate();
      Long beginTime = Long.parseLong(DateUtils.parseDateToStr(DateUtils.YYYYMMDDHH, DateUtils.getAPeriodOfTime(nowDate, -7, Calendar.DATE)));
      Double thuAccuracy = thuAccuracyMapper.selectSevenDayAccuracyAvg(beginTime);
      Double tempForecast = thuAccuracy == null ? 0.0 : thuAccuracy;