霍林河露天煤矿生产一体化平台
1
13693261870
2023-04-10 dd50418315218979f8d596f34f185ae4a28adc4a
src/main/java/com/terra/coal/controller/MainController.java
@@ -75,7 +75,9 @@
    @ApiOperation(value = "根据范围统计")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "txtPath", value = "块体数据文件路径", dataType = "String", paramType = "query", example = "D:\\块体数据.txt")
            @ApiImplicitParam(name = "wkt", value = "WKT文本", dataType = "String", paramType = "query", example = "POLYGON ((113.5807 45.4897,113.5898 45.4893,113.5857 45.4837,113.5807 45.4897))"),
            @ApiImplicitParam(name = "z", value = "高度", dataType = "double", paramType = "query", example = "640"),
            @ApiImplicitParam(name = "deep", value = "深度", dataType = "double", paramType = "query", example = "50")
    })
    @GetMapping(value = "/countByRange")
    public ResponseMsg<Object> countByRange(String wkt, double z, double deep) {
@@ -90,7 +92,7 @@
                return fail("开挖深度过小", null);
            }
            List<CountEntity> rs = mainService.countByRange(wkt, z, deep);
            List<CountEntity> rs = mainService.countByRange("'" + wkt + "'", z, z + deep);
            return success("成功", rs);
        } catch (Exception ex) {