| | |
| | | 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"; |