소스정리

main
이범준 5 months ago
parent a5b89589c4
commit a27c860cab

@ -13,7 +13,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.user.ManagedUser; import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.service.UserService; import cokr.xit.base.user.service.UserService;
import cokr.xit.fims.mngt.service.bean.FimsOgdpBean; import cokr.xit.fims.base.service.bean.OgdpBean;
import cokr.xit.fims.task.TaskRequestMappingHandlerMapping; import cokr.xit.fims.task.TaskRequestMappingHandlerMapping;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
import cokr.xit.foundation.web.RequestHandlerReader; import cokr.xit.foundation.web.RequestHandlerReader;
@ -30,8 +30,8 @@ public class MainController extends cokr.xit.base.web.MainController {
@Autowired @Autowired
private TaskRequestMappingHandlerMapping requestHandlers; private TaskRequestMappingHandlerMapping requestHandlers;
@Resource(name="fimsOgdpBean") @Resource(name="ogdpBean")
private FimsOgdpBean fimsOgdpBean; private OgdpBean ogdpBean;
@Resource(name="userService") @Resource(name="userService")
private UserService userService; private UserService userService;
@ -41,7 +41,7 @@ public class MainController extends cokr.xit.base.web.MainController {
ModelAndView mav = new ModelAndView("login"); ModelAndView mav = new ModelAndView("login");
List<DataObject> sggList = fimsOgdpBean.selectAllSggList(); List<DataObject> sggList = ogdpBean.selectAllSggList();
mav.addObject("sggList", sggList); mav.addObject("sggList", sggList);
mav.addObject("sysInstCd", instCd); mav.addObject("sysInstCd", instCd);
@ -84,12 +84,12 @@ public class MainController extends cokr.xit.base.web.MainController {
public ModelAndView signupPage(String sggCd) { public ModelAndView signupPage(String sggCd) {
ModelAndView mav = new ModelAndView("fims/user/user-info"); ModelAndView mav = new ModelAndView("fims/user/user-info");
mav.addObject("allOgdpList", fimsOgdpBean.selectAllOgdpList()); mav.addObject("allOgdpList", ogdpBean.selectAllOgdpList());
DataObject params = new DataObject(); DataObject params = new DataObject();
params.set("anonymous", "Y"); params.set("anonymous", "Y");
params.set("sggCd", sggCd); params.set("sggCd", sggCd);
List<DataObject> ableOgdpList = fimsOgdpBean.selectAbleOgdpList(params); List<DataObject> ableOgdpList = ogdpBean.selectAbleOgdpList(params);
mav.addObject("ableOgdpList", ableOgdpList); mav.addObject("ableOgdpList", ableOgdpList);
mav.addObject("userInfo", "{}"); mav.addObject("userInfo", "{}");

@ -1,4 +1,4 @@
package cokr.xit.fims.mngt; package cokr.xit.fims.base;
import cokr.xit.base.user.Department; import cokr.xit.base.user.Department;
import lombok.Getter; import lombok.Getter;

@ -7,4 +7,7 @@ import cokr.xit.base.user.Sigungu;
import cokr.xit.base.user.web.SigunguDepartmentController; import cokr.xit.base.user.web.SigunguDepartmentController;
@Controller @Controller
public class FimsSggDeptController extends SigunguDepartmentController<Sigungu, Department> {} public class FimsSggDeptController extends SigunguDepartmentController<Sigungu, Department> {
}

@ -6,7 +6,7 @@ import lombok.Setter;
@Getter @Getter
@Setter @Setter
public class OgdpSigungu extends Sigungu { public class FimsSigungu extends Sigungu {
/** /**
* *

@ -11,7 +11,7 @@ import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.applib.SQLUtil; import cokr.xit.applib.SQLUtil;
import cokr.xit.fims.base.OgdpQuery; import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.OgdpSigungu; import cokr.xit.fims.base.FimsSigungu;
import cokr.xit.foundation.component.AbstractMapper; import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -136,7 +136,7 @@ public interface OgdpMapper extends AbstractMapper {
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
default boolean updateSgg(OgdpSigungu sgg) { default boolean updateSgg(FimsSigungu sgg) {
return sgg != null && updateSgg(params().set("sgg", sgg)) == 1; return sgg != null && updateSgg(params().set("sgg", sgg)) == 1;
} }

@ -10,9 +10,9 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.user.Department; import cokr.xit.base.user.Department;
import cokr.xit.fims.base.OgdpQuery; import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.OgdpSigungu; import cokr.xit.fims.base.FimsDepartment;
import cokr.xit.fims.base.FimsSigungu;
import cokr.xit.fims.base.dao.OgdpMapper; import cokr.xit.fims.base.dao.OgdpMapper;
import cokr.xit.fims.mngt.FimsDepartment;
import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.UserInfo;
import cokr.xit.foundation.component.AbstractBean; import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -102,7 +102,7 @@ public class OgdpBean extends AbstractBean {
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
public boolean updateSgg(OgdpSigungu sgg) { public boolean updateSgg(FimsSigungu sgg) {
return ogdpMapper.updateSgg(sgg); return ogdpMapper.updateSgg(sgg);
} }

@ -15,7 +15,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.base.OgdpQuery; import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.OgdpSigungu; import cokr.xit.fims.base.FimsSigungu;
import cokr.xit.fims.base.service.bean.OgdpBean; import cokr.xit.fims.base.service.bean.OgdpBean;
import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.cmmn.service.StngService; import cokr.xit.fims.cmmn.service.StngService;
@ -138,7 +138,7 @@ public class Mngt03Controller extends ApplicationController {
* }</code></pre> * }</code></pre>
*/ */
@RequestMapping(name="시군구 정보 수정", value=METHOD_URL.updateSgg) @RequestMapping(name="시군구 정보 수정", value=METHOD_URL.updateSgg)
public ModelAndView updateSgg(OgdpSigungu sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) { public ModelAndView updateSgg(FimsSigungu sgg, MultipartFile symbol, MultipartFile logo, MultipartFile offcs) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
String sggCd = sgg.getSggID(); String sggCd = sgg.getSggID();

@ -11,10 +11,10 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.user.SigunguQuery; import cokr.xit.base.user.SigunguQuery;
import cokr.xit.base.user.service.SigunguDepartmentService; import cokr.xit.base.user.service.SigunguDepartmentService;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.base.FimsDepartment;
import cokr.xit.fims.base.OgdpQuery; import cokr.xit.fims.base.OgdpQuery;
import cokr.xit.fims.base.service.bean.OgdpBean; import cokr.xit.fims.base.service.bean.OgdpBean;
import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.mngt.FimsDepartment;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** .<br /> /** .<br />

Loading…
Cancel
Save