시군구 클래스 수정

main
이범준 9 months ago
parent 7adf5157e1
commit 6f49f841b0

@ -1,5 +1,6 @@
package cokr.xit.fims.mngt; package cokr.xit.fims.mngt;
import cokr.xit.base.user.Sigungu;
import cokr.xit.foundation.AbstractEntity; import cokr.xit.foundation.AbstractEntity;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@ -10,7 +11,7 @@ import lombok.Setter;
*/ */
@Getter @Getter
@Setter @Setter
public class Sgg extends AbstractEntity { public class FineIntegrationSigungu extends Sigungu {
/** /**
* *

@ -6,7 +6,7 @@ import java.util.Map;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper; import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.fims.cmmn.CmmnQuery; 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.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -39,7 +39,7 @@ public interface SggMapper extends AbstractMapper {
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
default boolean update(Sgg sgg) { default boolean update(FineIntegrationSigungu sgg) {
return sgg != null && updateSgg(params().set("sgg", sgg)) == 1; return sgg != null && updateSgg(params().set("sgg", sgg)) == 1;
} }

@ -1,7 +1,7 @@
package cokr.xit.fims.mngt.service; package cokr.xit.fims.mngt.service;
import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.mngt.Sgg; import cokr.xit.fims.mngt.FineIntegrationSigungu;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** . /** .
@ -23,7 +23,7 @@ public interface SggService {
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
boolean update(Sgg sgg); boolean update(FineIntegrationSigungu sgg);
/** . /** .
* @param req * @param req

@ -5,7 +5,7 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import cokr.xit.fims.cmmn.CmmnQuery; 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.fims.mngt.dao.SggMapper;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -34,7 +34,7 @@ public class SggBean extends AbstractComponent {
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
public boolean update(Sgg sgg) { public boolean update(FineIntegrationSigungu sgg) {
return sggMapper.update(sgg); return sggMapper.update(sgg);
} }

@ -5,7 +5,7 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import cokr.xit.fims.cmmn.CmmnQuery; 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.fims.mngt.service.SggService;
import cokr.xit.foundation.component.AbstractServiceBean; import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -17,7 +17,7 @@ public class SggServiceBean extends AbstractServiceBean implements SggService {
private SggBean sggBean; private SggBean sggBean;
@Override @Override
public boolean update(Sgg sgg) { public boolean update(FineIntegrationSigungu sgg) {
return sggBean.update(sgg); return sggBean.update(sgg);
} }

@ -13,7 +13,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnQuery; 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.Task;
import cokr.xit.fims.mngt.VltnQuery; import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.mngt.dao.FactionMapper; import cokr.xit.fims.mngt.dao.FactionMapper;
@ -136,7 +136,7 @@ public class Mngt03Controller extends ApplicationController {
* "saved": true, false * "saved": true, false
* }</code></pre> * }</code></pre>
*/ */
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"); ModelAndView mav = new ModelAndView("jsonView");
String sggCd = sgg.getSggCd(); String sggCd = sgg.getSggCd();

@ -9,7 +9,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.crdn.Crdn; 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.Task;
import cokr.xit.fims.mngt.VltnQuery; import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.sprt.OtptForm; import cokr.xit.fims.sprt.OtptForm;
@ -621,7 +621,7 @@ public class CmnController {
@Override @Override
@RequestMapping(name="시군구 정보 수정", value=METHOD_URL.updateSgg) @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); return super.updateSgg(sgg, symbol, logo, offcs);
} }

Loading…
Cancel
Save