From d2811d5ee9b13f301326d18b118dde40ba811b14 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 16 十一月 2023 12:46:30 +0800 Subject: [PATCH] 添加xls模板 --- src/main/java/com/moon/server/controller/data/RasterAnalysisController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/moon/server/controller/data/RasterAnalysisController.java b/src/main/java/com/moon/server/controller/data/RasterAnalysisController.java index 2396ad7..2486fef 100644 --- a/src/main/java/com/moon/server/controller/data/RasterAnalysisController.java +++ b/src/main/java/com/moon/server/controller/data/RasterAnalysisController.java @@ -7,7 +7,7 @@ import com.moon.server.helper.StringHelper; import com.moon.server.helper.WebHelper; import com.moon.server.service.data.RasterAnalysisService; -import com.moon.server.service.data.SlopAnalysisService; +import com.moon.server.service.data.SlopeAnalysisService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; @@ -34,7 +34,7 @@ RasterAnalysisService rasterService; @Resource - SlopAnalysisService slopAnalysisService; + SlopeAnalysisService slopeAnalysisService; private final static List<Integer> PIXELS = new ArrayList<>(Arrays.asList(1, 2, 4, 8, 16, 32, 64, 128, 256)); @@ -159,7 +159,7 @@ @SysLog() @ApiOperation(value = "涓嬭浇鍧″害鍒嗘瀽Excel") @ApiImplicitParams({ - @ApiImplicitParam(name = "wkt", value = "WKT瀛楃涓�", dataType = "String", example = "POLYGON ((56.61 33.94,115.04 33.56,114.09 -7.17,52.22 -6.22,56.61 33.94))") + @ApiImplicitParam(name = "wkt", value = "WKT瀛楃涓�", dataType = "String", example = "POLYGON ((-103.2 -12.9,-84.2 -14.3,-86.8 -27.5,-105.1 -25.3,-103.2 -12.9))") }) @GetMapping(value = "/downloadSlopXls") public void downloadSlopXls(String wkt, HttpServletRequest req, HttpServletResponse res) { @@ -179,7 +179,7 @@ return; } - slopAnalysisService.downloadSlopXls(geo, res); + slopeAnalysisService.downloadSlopXls(geo, res); } catch (Exception ex) { WebHelper.writeStr2Page(res, ex.getMessage()); log.error(ex.getMessage(), ex); -- Gitblit v1.9.3