From 86bf08ff8f700356de6b8c68fb4013409499fd55 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 13 九月 2023 13:28:44 +0800 Subject: [PATCH] 修改 发布类型 设置 --- src/main/java/com/moon/server/controller/data/PublishController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/moon/server/controller/data/PublishController.java b/src/main/java/com/moon/server/controller/data/PublishController.java index f601d0a..6ac7752 100644 --- a/src/main/java/com/moon/server/controller/data/PublishController.java +++ b/src/main/java/com/moon/server/controller/data/PublishController.java @@ -84,7 +84,7 @@ private String getType(String type) throws Exception { switch (type) { case "DOM": - return "type in ('tif', 'tiff', 'img', 'jp2', 'jpg') and mata_type in (1, 3, 4, 5)"; + return "type in ('tif', 'tiff', 'img', 'jp2', 'jpg') and mata_type in (1, 2, 3, 4, 5)"; case "DEM": return "type in ('tif', 'tiff', 'dem') and mata_type = 2"; case "Vector": -- Gitblit v1.9.3