1
13693261870
2024-11-14 d664d6b5d16fe2229f1b553aa098a94abefa1863
1
已修改2个文件
9 ■■■■ 文件已修改
src/main/java/com/se/simu/controller/TestController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/se/simu/service/ResultService.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/se/simu/controller/TestController.java
@@ -63,7 +63,7 @@
    @ApiOperation(value = "testResuslt *")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "path", value = "路径", dataType = "String", paramType = "query", example = "20241010095328"),
            @ApiImplicitParam(name = "path", value = "路径", dataType = "String", paramType = "query", example = "20241107092342"),
            @ApiImplicitParam(name = "time", value = "时间", dataType = "String", paramType = "query", example = "2024-11-07 09:23:42")
    })
    @GetMapping("/testResuslt")
src/main/java/com/se/simu/service/ResultService.java
@@ -493,6 +493,13 @@
        if (CollectionUtils.isEmpty(geometries)) return;
        List<PondingPo> list = copePonding(dto, ds, layer, geometries);
        if (CollectionUtils.isEmpty(list)) return;
        try {
            writeJson(dto.getOutPath() + File.separator + "water.json", JSON.toJSONString(list));
        } catch (Exception ex) {
            log.error(ex.getMessage(), ex);
        }
    }
    private List<Geometry> getGeometries(String filePath) {