fix: 修复规则引擎初始化bug

V0.5.x
Sage 2023-07-17 17:25:24 +08:00
parent 81fd5bc202
commit 15e41fb318
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class RuleManager {
int idx = 1;
while (true) {
PageRequest<RuleInfo> pageRequest = new PageRequest<>();
pageRequest.setPageNum(idx += 1);
pageRequest.setPageNum(idx);
pageRequest.setPageSize(100);
Paging<RuleInfo> all = ruleInfoData.findAll(pageRequest);
List<RuleInfo> rules = all.getRows();