From 1d4ac27e8a9428aff4dd3ba1c9e2bb8b2ed826f7 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期二, 07 一月 2025 18:16:38 +0800
Subject: [PATCH] influxdb查询bug

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java
index 1fba7b4..9a07f72 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java
@@ -249,14 +249,14 @@
     @Override
     public MdkScheduleRespDTO runSchedule(MdkScheduleReqDTO reqDTO) {
         MdkScheduleRespDTO resp = new MdkScheduleRespDTO();
-        resp.setScheduleCode(reqDTO.getScheduleCode());
-        resp.setScheduleTime(reqDTO.getScheduleTime());
         if (reqDTO.getScheduleTime() == null) {
             Calendar calendar = Calendar.getInstance();
             calendar.set(Calendar.MILLISECOND, 0);
             calendar.set(Calendar.SECOND, 0);
-            resp.setScheduleTime(calendar.getTime());
+            reqDTO.setScheduleTime(calendar.getTime());
         }
+        resp.setScheduleCode(reqDTO.getScheduleCode());
+        resp.setScheduleTime(reqDTO.getScheduleTime());
         String catchKey = "ScheduleResult:" + reqDTO.getScheduleCode();
         try {
             if (redisTemplate.hasKey(catchKey)) {

--
Gitblit v1.9.3