src/main/java/com/yssh/utils/CalculateUtils.java
@@ -210,6 +210,16 @@ return ids; } /** * 根据范围获取查询条件 */ public static String getFilterByExtend(MonitorPointPosition point, int range) { Integer x = point.getX(); Integer y = point.getY(); return String.format("x between %d and %d and y between %d and %d", x - range / 2, x + range / 2, y - range / 2, y + range / 2); } public static List<String> temporary(MonitorPointPosition point, int range) { List<String> ids3d = new ArrayList<>(); Integer x = point.getX();