From 5878dcd095b5c6a45ce6f78b52b7323cbb873f36 Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Thu, 5 Dec 2024 16:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E8=AE=BE=E5=A4=87=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E6=95=B410=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/task/EquTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java index 89fd2cf..cb32b23 100644 --- a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java +++ b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java @@ -36,7 +36,7 @@ public class EquTask { /** * 港口原有设备对接 */ - @Scheduled(fixedRate = 3600000) + @Scheduled(fixedRate = 600000) public void equ(){ String hash = "16EA8A305FB58BE0730DD67F04F022F4"; @@ -56,7 +56,7 @@ public class EquTask { map.put("sensorUId",e.getSn()); map.put("label",e.getName()); HttpResult result = OkHttps.sync("http://10.201.35.30:8090/enviSensor/select?" + - "page=1&pageSize=40&valid=0&type=5&sensorUId={sensorUId}&label={label}") + "page=1&pageSize=10&valid=0&type=5&sensorUId={sensorUId}&label={label}") .addPathPara(map) .addHeader("token", token) .get();