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}