From 610a0519adfdf43d65f425ae4e8cb41766cf99c3 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 27 八月 2025 09:16:34 +0800
Subject: [PATCH] 修改bug,RTU设备最新报警状态数据库更新时赋值不正确
---
pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/mqttSd1/weather/WeatherSv.java | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/mqttSd1/weather/WeatherSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/mqttSd1/weather/WeatherSv.java
index e0e19e5..2f718c5 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/mqttSd1/weather/WeatherSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/mqttSd1/weather/WeatherSv.java
@@ -36,9 +36,7 @@
return null ;
}
- public QueryResultVo<List<VoWeather>> oneHistory(Long weatherId) {
- WeatherQo qo = new WeatherQo() ;
- qo.weatherId = weatherId ;
+ public QueryResultVo<List<VoWeather>> oneHistory(WeatherQo qo) {
Map<String, Object> params = (Map<String, Object>) PojoUtils.generalize(qo);
Long itemTotal = rmWeatherHistoryDao.selectCount(params);
--
Gitblit v1.8.0