燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-07-31 1cbb3ed5c0c412cd407b7d32e7978f491857d670
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();