From 126a97fdd0c1ade596152b5b7c25d0a3e462aec4 Mon Sep 17 00:00:00 2001 From: cjl <909710561@qq.com> Date: Thu, 25 Jan 2024 10:28:35 +0800 Subject: [PATCH] fix:补充提交 --- screen-job/src/main/java/com/moral/api/task/AlarmTask.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/screen-job/src/main/java/com/moral/api/task/AlarmTask.java b/screen-job/src/main/java/com/moral/api/task/AlarmTask.java index 190a091..3ac44c2 100644 --- a/screen-job/src/main/java/com/moral/api/task/AlarmTask.java +++ b/screen-job/src/main/java/com/moral/api/task/AlarmTask.java @@ -246,7 +246,7 @@ HistoryAqi historyAqi = null; historyAqi = historyAqiMapper.selectOne(historyAqiQueryWrapper); if (!com.baomidou.mybatisplus.core.toolkit.ObjectUtils.isEmpty(historyAqi)){ - String cityAqiValue = historyAqi.getJson(); + String cityAqiValue = historyAqi.getValue(); JSONObject JsonObject = new JSONObject(); JSONObject previousJsonObject = new JSONObject(); previousJsonObject = JSONObject.parseObject(cityAqiValue); @@ -367,7 +367,7 @@ HistoryAqi historyAqi = null; historyAqi = historyAqiMapper.selectOne(historyAqiQueryWrapper); if (!com.baomidou.mybatisplus.core.toolkit.ObjectUtils.isEmpty(historyAqi)){ - String cityAqiValue = historyAqi.getJson(); + String cityAqiValue = historyAqi.getValue(); JSONObject JsonObject = new JSONObject(); JSONObject previousJsonObject = new JSONObject(); previousJsonObject = JSONObject.parseObject(cityAqiValue); @@ -488,7 +488,7 @@ HistoryAqi historyAqi = null; historyAqi = historyAqiMapper.selectOne(historyAqiQueryWrapper); if (!com.baomidou.mybatisplus.core.toolkit.ObjectUtils.isEmpty(historyAqi)){ - String cityAqiValue = historyAqi.getJson(); + String cityAqiValue = historyAqi.getValue(); JSONObject JsonObject = new JSONObject(); JSONObject previousJsonObject = new JSONObject(); previousJsonObject = JSONObject.parseObject(cityAqiValue); @@ -609,7 +609,7 @@ HistoryAqi historyAqi = null; historyAqi = historyAqiMapper.selectOne(historyAqiQueryWrapper); if (!com.baomidou.mybatisplus.core.toolkit.ObjectUtils.isEmpty(historyAqi)){ - String cityAqiValue = historyAqi.getJson(); + String cityAqiValue = historyAqi.getValue(); JSONObject JsonObject = new JSONObject(); JSONObject previousJsonObject = new JSONObject(); previousJsonObject = JSONObject.parseObject(cityAqiValue); @@ -730,7 +730,7 @@ HistoryAqi historyAqi = null; historyAqi = historyAqiMapper.selectOne(historyAqiQueryWrapper); if (!com.baomidou.mybatisplus.core.toolkit.ObjectUtils.isEmpty(historyAqi)){ - String cityAqiValue = historyAqi.getJson(); + String cityAqiValue = historyAqi.getValue(); JSONObject JsonObject = new JSONObject(); JSONObject previousJsonObject = new JSONObject(); previousJsonObject = JSONObject.parseObject(cityAqiValue); @@ -851,7 +851,7 @@ HistoryAqi historyAqi = null; historyAqi = historyAqiMapper.selectOne(historyAqiQueryWrapper); if (!com.baomidou.mybatisplus.core.toolkit.ObjectUtils.isEmpty(historyAqi)){ - String cityAqiValue = historyAqi.getJson(); + String cityAqiValue = historyAqi.getValue(); JSONObject JsonObject = new JSONObject(); JSONObject previousJsonObject = new JSONObject(); previousJsonObject = JSONObject.parseObject(cityAqiValue); -- Gitblit v1.8.0