From 15e41fb31854aa412a14fea89d6887df3b19be66 Mon Sep 17 00:00:00 2001 From: Sage Date: Mon, 17 Jul 2023 17:25:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=84=E5=88=99?= =?UTF-8?q?=E5=BC=95=E6=93=8E=E5=88=9D=E5=A7=8B=E5=8C=96bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cc/iotkit/ruleengine/rule/RuleManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot-module/iot-rule-engine/src/main/java/cc/iotkit/ruleengine/rule/RuleManager.java b/iot-module/iot-rule-engine/src/main/java/cc/iotkit/ruleengine/rule/RuleManager.java index 8ebe9194..24422791 100644 --- a/iot-module/iot-rule-engine/src/main/java/cc/iotkit/ruleengine/rule/RuleManager.java +++ b/iot-module/iot-rule-engine/src/main/java/cc/iotkit/ruleengine/rule/RuleManager.java @@ -78,7 +78,7 @@ public class RuleManager { int idx = 1; while (true) { PageRequest pageRequest = new PageRequest<>(); - pageRequest.setPageNum(idx += 1); + pageRequest.setPageNum(idx); pageRequest.setPageSize(100); Paging all = ruleInfoData.findAll(pageRequest); List rules = all.getRows();