diff --git a/src/main/java/cokr/xit/fims/mngt/Sgg.java b/src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java
similarity index 90%
rename from src/main/java/cokr/xit/fims/mngt/Sgg.java
rename to src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java
index 0cf27ba3..c19a0ed8 100644
--- a/src/main/java/cokr/xit/fims/mngt/Sgg.java
+++ b/src/main/java/cokr/xit/fims/mngt/FineIntegrationSigungu.java
@@ -1,5 +1,6 @@
package cokr.xit.fims.mngt;
+import cokr.xit.base.user.Sigungu;
import cokr.xit.foundation.AbstractEntity;
import lombok.Getter;
import lombok.Setter;
@@ -10,7 +11,7 @@ import lombok.Setter;
*/
@Getter
@Setter
-public class Sgg extends AbstractEntity {
+public class FineIntegrationSigungu extends Sigungu {
/**
* 시군구 코드
diff --git a/src/main/java/cokr/xit/fims/mngt/dao/SggMapper.java b/src/main/java/cokr/xit/fims/mngt/dao/SggMapper.java
index 74d6d4b4..def984d4 100644
--- a/src/main/java/cokr/xit/fims/mngt/dao/SggMapper.java
+++ b/src/main/java/cokr/xit/fims/mngt/dao/SggMapper.java
@@ -6,7 +6,7 @@ import java.util.Map;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Sgg;
+import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject;
@@ -39,7 +39,7 @@ public interface SggMapper extends AbstractMapper {
*
그렇지 않으면 false
*
*/
- default boolean update(Sgg sgg) {
+ default boolean update(FineIntegrationSigungu sgg) {
return sgg != null && updateSgg(params().set("sgg", sgg)) == 1;
}
diff --git a/src/main/java/cokr/xit/fims/mngt/service/SggService.java b/src/main/java/cokr/xit/fims/mngt/service/SggService.java
index 3688f9d5..4624541f 100644
--- a/src/main/java/cokr/xit/fims/mngt/service/SggService.java
+++ b/src/main/java/cokr/xit/fims/mngt/service/SggService.java
@@ -1,7 +1,7 @@
package cokr.xit.fims.mngt.service;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Sgg;
+import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.foundation.data.DataObject;
/**시군구 정보 관리 서비스 인터페이스.
@@ -23,7 +23,7 @@ public interface SggService {
* 그렇지 않으면 false
*
*/
- boolean update(Sgg sgg);
+ boolean update(FineIntegrationSigungu sgg);
/**지정한 조건에 따라 시군구 객체를 반환한다.
* @param req 시군구 조회 조건
diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/SggBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/SggBean.java
index e83fcb9c..a2004f85 100644
--- a/src/main/java/cokr/xit/fims/mngt/service/bean/SggBean.java
+++ b/src/main/java/cokr/xit/fims/mngt/service/bean/SggBean.java
@@ -5,7 +5,7 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Sgg;
+import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.fims.mngt.dao.SggMapper;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject;
@@ -34,7 +34,7 @@ public class SggBean extends AbstractComponent {
* 그렇지 않으면 false
*
*/
- public boolean update(Sgg sgg) {
+ public boolean update(FineIntegrationSigungu sgg) {
return sggMapper.update(sgg);
}
diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/SggServiceBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/SggServiceBean.java
index 1894375d..2775050c 100644
--- a/src/main/java/cokr/xit/fims/mngt/service/bean/SggServiceBean.java
+++ b/src/main/java/cokr/xit/fims/mngt/service/bean/SggServiceBean.java
@@ -5,7 +5,7 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Sgg;
+import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.fims.mngt.service.SggService;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
@@ -17,7 +17,7 @@ public class SggServiceBean extends AbstractServiceBean implements SggService {
private SggBean sggBean;
@Override
- public boolean update(Sgg sgg) {
+ public boolean update(FineIntegrationSigungu sgg) {
return sggBean.update(sgg);
}
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 ea8aa69c..7e070e9a 100644
--- a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java
+++ b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java
@@ -13,7 +13,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Sgg;
+import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.fims.mngt.Task;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.mngt.dao.FactionMapper;
@@ -136,7 +136,7 @@ public class Mngt03Controller extends ApplicationController {
* "saved": 수정되었으면 true, 그렇지 않으면 false
* }
*/
- public ModelAndView updateSgg(Sgg sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
+ public ModelAndView updateSgg(FineIntegrationSigungu sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
ModelAndView mav = new ModelAndView("jsonView");
String sggCd = sgg.getSggCd();
diff --git a/src/main/java/cokr/xit/fims/task/web/CmnController.java b/src/main/java/cokr/xit/fims/task/web/CmnController.java
index 35728b36..76744378 100644
--- a/src/main/java/cokr/xit/fims/task/web/CmnController.java
+++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java
@@ -9,7 +9,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.crdn.Crdn;
-import cokr.xit.fims.mngt.Sgg;
+import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.fims.mngt.Task;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.sprt.OtptForm;
@@ -621,7 +621,7 @@ public class CmnController {
@Override
@RequestMapping(name="시군구 정보 수정", value=METHOD_URL.updateSgg)
- public ModelAndView updateSgg(Sgg sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
+ public ModelAndView updateSgg(FineIntegrationSigungu sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
return super.updateSgg(sgg, symbol, logo, offcs);
}