From d6464955dc20cb527f7be02ac8631c1effb1768a Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 23 十二月 2024 16:12:11 +0800 Subject: [PATCH] 计算点查询问题修复 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CalculateHandle.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CalculateHandle.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CalculateHandle.java index 5fe035d..c45c633 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CalculateHandle.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CalculateHandle.java @@ -39,7 +39,7 @@ @Resource private JavaScriptHandler javaScriptHandler; - public static final String regex = "[+\\-\\*\\/\\(\\)\\&\\|\\>\\<]"; + public static final String regex = "[+\\-\\*/()\\&\\|\\>\\<]"; public List<InfluxPointValuePOJO> handle(Date collectTime, List<DaPointDTO> dtos, Map<String, Object> dataMap) { List<InfluxPointValuePOJO> result = new ArrayList<>(); -- Gitblit v1.9.3