From 27c21e388e29e783c57b92d9f691c64f4a18a14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dhji=28=EC=A7=80=EB=8C=80=ED=95=9C=29?= Date: Thu, 5 Oct 2023 18:48:26 +0900 Subject: [PATCH] =?UTF-8?q?code=20"-"=20front=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=B6=88=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comn/file/service/ComnFileService.java | 19 ------------------- .../palnet/biz/jpa/entity/type/FltType.java | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/pav-server/src/main/java/com/palnet/biz/api/comn/file/service/ComnFileService.java b/pav-server/src/main/java/com/palnet/biz/api/comn/file/service/ComnFileService.java index bea0c7da..8c5a86af 100644 --- a/pav-server/src/main/java/com/palnet/biz/api/comn/file/service/ComnFileService.java +++ b/pav-server/src/main/java/com/palnet/biz/api/comn/file/service/ComnFileService.java @@ -145,25 +145,6 @@ public class ComnFileService { } catch (IOException e) { throw new RuntimeException(e); } - - // 이미지를 Base64로 변환 - -// File file = null; -// try { -// file = resource.getFile(); -// System.out.println(file.getName()); -// String ext = FilenameUtils.getExtension(file.getName()); -// byte[] fileContent = FileUtils.readFileToByteArray(file); -// String encodedString = Base64.getEncoder().encodeToString(fileContent); -// str -// .append("data:image/") -// .append(ext) -// .append(";base64,") -// .append(encodedString); -// -// } catch (IOException e) { -// throw new RuntimeException(e); -// } return str.toString(); } diff --git a/pav-server/src/main/java/com/palnet/biz/jpa/entity/type/FltType.java b/pav-server/src/main/java/com/palnet/biz/jpa/entity/type/FltType.java index b2c7725a..c2161f63 100644 --- a/pav-server/src/main/java/com/palnet/biz/jpa/entity/type/FltType.java +++ b/pav-server/src/main/java/com/palnet/biz/jpa/entity/type/FltType.java @@ -17,7 +17,7 @@ import lombok.Getter; @Getter public enum FltType { COMMERCIAL("COMMERCIAL", "상업용"), - NON_COMMERCIAL("NON-COMMERCIAL", "상업용"); + NON_COMMERCIAL("NON_COMMERCIAL", "상업용"); private final String code; private final String value;