From 1f6cb7fd8eab22c19732d3e260ce5546d7b3569b Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 8 Feb 2024 15:01:35 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EA=B5=B0=EA=B5=AC=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/mngt/FineIntegrationSigungu.java | 17 ++++------------- .../xit/fims/mngt/web/Mngt03Controller.java | 12 ++++++------ .../sql/mapper/fims/mngt/sgg-mapper.xml | 18 +++++++++--------- 3 files changed, 19 insertions(+), 28 deletions(-) diff --git a/src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java b/src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java index 850d6f94..1d53ac00 100644 --- a/src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java +++ b/src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java @@ -15,31 +15,22 @@ public class FineIntegrationSigungu extends Sigungu { /** * 상징 파일 경로 */ - private String symbolFilePath; + private String symbolFilepath; /** * 상징 파일 명 */ - private String symbolFileNm; + private String symbolFilename; /** * 로고 파일 경로 */ - private String logoFilePath; + private String logoFilepath; /** * 로고 파일 명 */ - private String logoFileNm; + private String logoFilename; - /** - * 직인 파일 경로 - */ - private String offcsFilePath; - - /** - * 직인 파일 명 - */ - private String offcsFileNm; } diff --git a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java index e22696c1..b28f555e 100644 --- a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java +++ b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java @@ -143,18 +143,18 @@ public class Mngt03Controller extends ApplicationController { if(symbol != null && !symbol.isEmpty() && symbol.getSize() != 0) { Map newSymbol = this.uploadForSgg(symbol, sggCd, "symbol"); - sgg.setSymbolFilePath(newSymbol.get("filePath")); - sgg.setSymbolFileNm(newSymbol.get("fileName")); + sgg.setSymbolFilepath(newSymbol.get("filePath")); + sgg.setSymbolFilename(newSymbol.get("fileName")); } if(logo != null && !logo.isEmpty() && logo.getSize() != 0) { Map newLogo = this.uploadForSgg(logo, sggCd, "logo"); - sgg.setLogoFilePath(newLogo.get("filePath")); - sgg.setLogoFileNm(newLogo.get("fileName")); + sgg.setLogoFilepath(newLogo.get("filePath")); + sgg.setLogoFilename(newLogo.get("fileName")); } if(offcs != null && !offcs.isEmpty() && offcs.getSize() != 0) { Map newOffcs = this.uploadForSgg(offcs, sggCd, "offcs"); - sgg.setOffcsFilePath(newOffcs.get("filePath")); - sgg.setOffcsFileNm(newOffcs.get("fileName")); + sgg.setOfficialSealFilepath(newOffcs.get("filePath")); + sgg.setOfficialSealFilename(newOffcs.get("fileName")); } boolean saved = sggService.update(sgg); diff --git a/src/main/resources/sql/mapper/fims/mngt/sgg-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/sgg-mapper.xml index 5fdb387f..e9e3304f 100644 --- a/src/main/resources/sql/mapper/fims/mngt/sgg-mapper.xml +++ b/src/main/resources/sql/mapper/fims/mngt/sgg-mapper.xml @@ -47,17 +47,17 @@ UPDATE TB_SGG , INST_ZIP = #{sgg.instituteZipCode} , INST_ADDR = #{sgg.instAddress} , INST_DADDR = #{sgg.instDetailAddress} - - , SYMBOL_FILE_PATH = #{sgg.symbolFilePath} - , SYMBOL_FILE_NM = #{sgg.symbolFileNm} + + , SYMBOL_FILE_PATH = #{sgg.symbolFilepath} + , SYMBOL_FILE_NM = #{sgg.symbolFilename} - - , LOGO_FILE_PATH = #{sgg.logoFilePath} - , LOGO_FILE_NM = #{sgg.logoFileNm} + + , LOGO_FILE_PATH = #{sgg.logoFilepath} + , LOGO_FILE_NM = #{sgg.logoFilename} - - , OFFCS_FILE_PATH = #{sgg.offcsFilePath} - , OFFCS_FILE_NM = #{sgg.offcsFileNm} + + , OFFCS_FILE_PATH = #{sgg.officialSealFilepath} + , OFFCS_FILE_NM = #{sgg.officialSealFilename} WHERE SGG_CD = #{sgg.sggID}