| | |
| | | String name = "AI-" + (i < 10 ? "0" : "") + i; |
| | | double rjz = mapper.selectDayAvg(yyyymmdd + "%", name); // 日均值 |
| | | double lj = mapper.selectAccumulate(yearStart, end, name); // 累计 |
| | | double lastLj = mapper.selectYearAccumulate(lastYear + "%", name); // 去年累计 |
| | | double ljtb = CalculateUtils.round2((lj - lastLj) / lastLj * 100); // 累计同比 |
| | | double ljjz = mapper.selectYearAccumulate(yyyy + "%", name); // 今年累计均值 |
| | | double qnLjjz = mapper.selectYearAccumulate(lastYear + "%", name); // 去年累计均值 |
| | | double ljtb = CalculateUtils.round2((ljjz - qnLjjz) / qnLjjz * 100); // 累计同比 |
| | | |
| | | MonitorPointPosition point = commonService.select3dCheckPointByName(name); |
| | | String id = point.getId().substring(0, point.getId().lastIndexOf("_") + 1) + "0"; |
| | |
| | | double lj = mapper.selectAccumulate(yearStart, intSun, name); // 累计 |
| | | double lastLj = mapper.selectYearAccumulate(lastYear + "%", name); // 去年累计 |
| | | double ljtb = CalculateUtils.round2((lj - lastLj) / lastLj * 100); // 累计同比 |
| | | double syn = CalculateUtils.round2((lj - lastLj) / lastLj * 100); // 较上一年度变化幅度 |
| | | |
| | | MonitorPointPosition point = commonService.select3dCheckPointByName(name); |
| | | String id = point.getId().substring(0, point.getId().lastIndexOf("_") + 1) + "0"; |