refactor: java package

JSP refactor-package
          URL PATH reafactor
main
minuk926 2 years ago
parent 90e4591f34
commit 5277a340e4

@ -0,0 +1,24 @@
package kr.xit.fims.biz.rt.mapper;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import java.util.List;
import java.util.Map;
import kr.xit.fims.biz.rt.model.Rt0200VO;
import org.apache.ibatis.session.RowBounds;
@Mapper
//public interface Rt0200Mapper extends FimsMapperStrategy<Rt0200VO, Rt0200SearchVO> {
public interface Rt0200Mapper {
// 목록조회
List<Map<String,Object>> selectRt0200List(Map<String, Object> map);
// 목록조회 (페이징)
List<Map<String,Object>> selectRt0200List(Map<String, Object> map, RowBounds rowBounds);
List<Rt0200VO> findSndngProcessSttus();
Rt0200VO selectRt0200(String reglt_id);
}

@ -1,4 +1,4 @@
package kr.xit.fims.biz.rt.rt0200.model;
package kr.xit.fims.biz.rt.model;
import kr.xit.framework.core.model.XitBaseSearchVO;
import lombok.Data;

@ -1,4 +1,4 @@
package kr.xit.fims.biz.rt.rt0200.model;
package kr.xit.fims.biz.rt.model;
import kr.xit.framework.core.model.BaseVO;
import lombok.Data;

@ -1,25 +0,0 @@
package kr.xit.fims.biz.rt.rt0200.mapper;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import kr.xit.fims.biz.cmm.FimsMapperStrategy;
import kr.xit.fims.biz.rt.rt0200.model.Rt0200SearchVO;
import kr.xit.fims.biz.rt.rt0200.model.Rt0200VO;
import org.apache.ibatis.session.RowBounds;
@Mapper
//public interface Rt0200Mapper extends FimsMapperStrategy<Rt0200VO, Rt0200SearchVO> {
public interface Rt0200Mapper {
// 목록조회
public List<Map<String,Object>> findList(Map<String, Object> map);
// 목록조회 (페이징)
public List<Map<String,Object>> findList(Map<String, Object> map, RowBounds rowBounds);
public List<Rt0200VO> findSndngProcessSttus();
}

@ -1,16 +0,0 @@
package kr.xit.fims.biz.rt.rt0200.service;
import kr.xit.fims.biz.cmm.FimsServiceStrategy;
import kr.xit.fims.biz.rt.rt0200.model.Rt0200VO;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.RowBounds;
public interface Rt0200Service {
public List<Map<String,Object>> findList(Map<String, Object> paramMap, RowBounds rowBounds);
public List<Rt0200VO> findSndngProcessSttus();
}

@ -0,0 +1,16 @@
package kr.xit.fims.biz.rt.service;
import kr.xit.fims.biz.rt.model.Rt0200VO;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.RowBounds;
public interface Rt0200Service {
public List<Map<String,Object>> findRt0200List(Map<String, Object> paramMap, RowBounds rowBounds);
public List<Rt0200VO> findSndngProcessSttus();
Rt0200VO findRt0200(String reglt_id);
}

@ -1,8 +1,8 @@
package kr.xit.fims.biz.rt.rt0200.service.impl;
package kr.xit.fims.biz.rt.service.impl;
import kr.xit.fims.biz.rt.rt0200.mapper.Rt0200Mapper;
import kr.xit.fims.biz.rt.rt0200.model.Rt0200VO;
import kr.xit.fims.biz.rt.rt0200.service.Rt0200Service;
import kr.xit.fims.biz.rt.mapper.Rt0200Mapper;
import kr.xit.fims.biz.rt.model.Rt0200VO;
import kr.xit.fims.biz.rt.service.Rt0200Service;
import lombok.RequiredArgsConstructor;
import org.apache.ibatis.session.RowBounds;
@ -18,13 +18,13 @@ public class Rt0200ServiceImpl implements Rt0200Service {
private final Rt0200Mapper rt0200Mapper;
@Override
public List<Map<String,Object>> findList(Map<String, Object> paramMap, RowBounds rowBounds) {
return rt0200Mapper.findList(paramMap, rowBounds);
public List<Map<String,Object>> findRt0200List(Map<String, Object> paramMap, RowBounds rowBounds) {
return rt0200Mapper.selectRt0200List(paramMap, rowBounds);
}
public Rt0200VO findView(Rt0200VO vo) {
return null;
@Override
public Rt0200VO findRt0200(String reglt_id) {
return rt0200Mapper.selectRt0200(reglt_id);
}
public void addProc(Rt0200VO vo) {
@ -43,4 +43,6 @@ public class Rt0200ServiceImpl implements Rt0200Service {
return null;
}
}

@ -1,8 +1,6 @@
package kr.xit.fims.biz.rt.rt0200.web;
package kr.xit.fims.biz.rt.web;
import kr.xit.fims.biz.cmm.FimsConst;
import kr.xit.fims.biz.rt.rt0200.model.Rt0200VO;
import kr.xit.fims.biz.rt.rt0200.service.Rt0200Service;
import kr.xit.fims.biz.rt.service.Rt0200Service;
import kr.xit.framework.core.message.XitMessageSource;
import kr.xit.framework.core.model.ResultResponse;
import kr.xit.framework.core.validation.XitBeanValidator;
@ -21,7 +19,6 @@ import lombok.extern.slf4j.Slf4j;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;
/**
@ -37,8 +34,7 @@ import java.util.Map;
*/
@Slf4j
@Controller
//@RequestMapping("/rt/rt0200/")
@RequestMapping("/fims/biz/rt/rt0200")
@RequestMapping("/fims/biz/rt")
@AllArgsConstructor
public class Rt0200Controller {
@ -75,31 +71,15 @@ public class Rt0200Controller {
*/
//@GetMapping(value = "finds")
//@GetMapping(value = "finds", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
@RequestMapping(value = "/finds", method = {RequestMethod.GET, RequestMethod.POST})
public ModelAndView finds(@RequestParam Map<String,Object> paramMap) {
//RowBounds rowBounds = MybatisUtils.getPagingInfo(paramMap);
//List<Rt0200VO> list = rt0200Service.findList(paramMap, rowBounds);
//return list;
return ResultResponse.of(rt0200Service.findList(paramMap, MybatisUtils.getPagingInfo(paramMap)));
@RequestMapping(value = "/findRt0200List", method = {RequestMethod.GET, RequestMethod.POST})
public ModelAndView findRt0200List(@RequestParam Map<String,Object> paramMap) {
return ResultResponse.of(rt0200Service.findRt0200List(paramMap, MybatisUtils.getPagingInfo(paramMap)));
}
// /**
// * <pre>메소드 설명: 자료 검색</pre>
// * @param searchVO Rt0200SearchVO
// * @return String 요청처리 후 응답객체
// * @author: 최정민
// * @date: 2022. 9. 14.
// */
// @GetMapping(value = "finds2")
// public ModelAndView finds(Rt0200SearchVO searchVO) {
// ModelAndView mav = new ModelAndView(XitConst.JSON_VIEW);
//
// RowBounds rowBounds = MybatisUtils.getPagingInfo(searchVO);
// List<Rt0200VO> list = rt0200Service.findList(searchVO, rowBounds);
// return ResultResponse.of(list);
// }
@GetMapping(value = "/findRt0200")
public ModelAndView findRt0200(final String reglt_id) {
return ResultResponse.of(rt0200Service.findRt0200(reglt_id));
}
// /**
// * <pre>메소드 설명: 단건 자료 검색</pre>

@ -267,7 +267,7 @@ public class XitFrameAnonymousController {
// if(referer.contains("UserReg_input"))
// sLocationUrl = "forward:/_anonymous_/login/UserReg_input";
// else
sLocationUrl = "forward:/_anonymous_/login/UserReg_inputEvr";
sLocationUrl = "forward:/_anonymous_/login/UserReg_inputEvr.do";
String message = null;
@ -278,7 +278,7 @@ public class XitFrameAnonymousController {
ValidateBreakPoint:
switch (constUserSe) {
case GNR: //일반회원
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_GNR";
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_GNR.do";
/**
*
@ -310,7 +310,7 @@ public class XitFrameAnonymousController {
break;
case ENT: //기업회원
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_ENT";
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_ENT.do";
/**
*
@ -341,7 +341,7 @@ public class XitFrameAnonymousController {
break;
case USR: //업무사용자
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_USR";
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_USR.do";
/**
*
@ -503,14 +503,14 @@ public class XitFrameAnonymousController {
HttpSession session = req.getSession();
session.setAttribute("ids", "dummyvalue");
return "redirect: /_anonymous_/step1";
return "redirect: /_anonymous_/step1.do";
}
@GetMapping(value = "logout")
public String logout(HttpServletRequest req) {
HttpSession session = req.getSession();
session.setAttribute("ids", null);
return "redirect: /_anonymous_/step1";
return "redirect: /_anonymous_/step1.do";
}
/* ==========================
* //비회원 인증서비스를 위한 테스트 샘플

@ -126,7 +126,7 @@ public class XitLoginController {
*/
//비인증 상태에서 인가되지 않은 URL 호출에 대한 처리
if(XitCmmnUtil.isEmpty(paramMap)) {
return "forward:/login/accessDenied";
return "forward:/login/accessDenied.do";
}
@ -199,7 +199,7 @@ public class XitLoginController {
public String actionLogout(HttpServletRequest request, ModelMap model) throws Exception {
request.getSession().setAttribute("XitLoginSession", null);
return "redirect:/egov_security_logout";
return "redirect:/egov_security_logout.do";
}
/**
@ -379,7 +379,7 @@ public class XitLoginController {
model.addAttribute("failDetail", failDetail);
model.addAttribute("temp_pwd", vo.getPassword());
sLocationUrl = "forward:/login/FindPwd_result_popup";
sLocationUrl = "forward:/login/FindPwd_result_popup.do";
break;
// case "delete": //삭제

@ -182,7 +182,7 @@ public class XitAdminDbMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list";
String sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list.do";
String message = null;
int resultCnt = 0;
String cmd = null; //질의문 명령어 구분
@ -227,11 +227,11 @@ public class XitAdminDbMngController {
arrmessage.append(message); //질의문실행결과
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list";
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list.do";
arrmessage.append(message); //질의문실행결과
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list";
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list.do";
arrmessage.append(String.format("%s :: %s", message, e.getMessage())); //질의문실행결과
}
break;
@ -246,11 +246,11 @@ public class XitAdminDbMngController {
arrmessage.append(message); //질의문실행결과
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list";
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list.do";
arrmessage.append(message); //질의문실행결과
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list";
sLocationUrl = "forward:/framework/biz/mng/admin/AdminDbMng_list.do";
arrmessage.append(String.format("%s :: %s", message, e.getMessage())); //질의문실행결과
}
break;

@ -206,7 +206,7 @@ public class XitConectionLogMngController {
*
*/
XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
String sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_list";
String sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -214,7 +214,7 @@ public class XitConectionLogMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input.do";
break;
}
//처리
@ -224,10 +224,10 @@ public class XitConectionLogMngController {
message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input.do";
}
break;
@ -239,7 +239,7 @@ public class XitConectionLogMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do";
break;
}
//처리
@ -249,10 +249,10 @@ public class XitConectionLogMngController {
message = xitMessageSource.getMessage("success.common.update");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do";
}
break;
@ -265,10 +265,10 @@ public class XitConectionLogMngController {
break;
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.delete");
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do";
}
break;

@ -250,7 +250,7 @@ public class XitAuthGrpMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_list";
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -258,7 +258,7 @@ public class XitAuthGrpMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_input.do";
break;
}
//처리
@ -267,13 +267,13 @@ public class XitAuthGrpMngController {
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
model.addAttribute("groupId", vo.getGroupId());
sLocationUrl = "redirect:/framework/biz/mng/auth/AuthGrpMng_edit";
sLocationUrl = "redirect:/framework/biz/mng/auth/AuthGrpMng_edit.do";
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_input.do";
}
break;
@ -285,7 +285,7 @@ public class XitAuthGrpMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit.do";
break;
}
//처리
@ -295,10 +295,10 @@ public class XitAuthGrpMngController {
message = xitMessageSource.getMessage("success.common.update");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit.do";
}
break;
@ -311,10 +311,10 @@ public class XitAuthGrpMngController {
break;
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.delete");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthGrpMng_edit.do";
}
break;

@ -283,7 +283,7 @@ public class XitAuthHierarchyMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_list";
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_list.do";
String message = null;
switch (cmd) {
// case "insert": //등록
@ -297,7 +297,7 @@ public class XitAuthHierarchyMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit.do";
break;
}
//처리
@ -307,10 +307,10 @@ public class XitAuthHierarchyMngController {
message = xitMessageSource.getMessage("success.common.update");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit.do";
}
break;
@ -323,10 +323,10 @@ public class XitAuthHierarchyMngController {
break;
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.delete");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit.do";
}
break;
@ -350,7 +350,7 @@ public class XitAuthHierarchyMngController {
message = xitMessageSource.getMessage("success.request.msg");
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.request.msg");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthHierarchyMng_edit.do";
}
break;

@ -301,7 +301,7 @@ public class XitAuthRegMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_list";
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -311,7 +311,7 @@ public class XitAuthRegMngController {
// beanValidator.validate("authorManage", vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_input.do";
break;
}
//처리
@ -321,10 +321,10 @@ public class XitAuthRegMngController {
message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_input.do";
}
break;
@ -338,7 +338,7 @@ public class XitAuthRegMngController {
// beanValidator.validate("authorManage", vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRegMng_edit.do";
break;
}
//처리

@ -240,7 +240,7 @@ public class XitAuthRuleMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_list";
String sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -248,7 +248,7 @@ public class XitAuthRuleMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_input.do";
break;
}
//처리
@ -257,13 +257,13 @@ public class XitAuthRuleMngController {
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
model.addAttribute("roleCode", vo.getRoleCode());
sLocationUrl = "redirect:/framework/biz/mng/auth/AuthRuleMng_edit";
sLocationUrl = "redirect:/framework/biz/mng/auth/AuthRuleMng_edit.do";
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_input.do";
}
break;
@ -275,7 +275,7 @@ public class XitAuthRuleMngController {
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/AuthRuleMng_edit.do";
break;
}
//처리

@ -216,7 +216,7 @@ public class XitLoginPolicyMngController {
*
*/
XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
String sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_list";
String sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -226,7 +226,7 @@ public class XitLoginPolicyMngController {
// beanValidator.validate("loginPolicy", vo, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input.do";
break;
}
//처리
@ -235,13 +235,13 @@ public class XitLoginPolicyMngController {
xitLoginPolicyMngService.addProc(vo);
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit";
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit.do";
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input";
sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input.do";
}
break;

@ -288,13 +288,13 @@ public class XitBatchRegMngController {
xitBatchRegMngService.addProc(vo);
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
sLocationUrl = "redirect:/framework/biz/mng/batch/BatchRegMng_list";
sLocationUrl = "redirect:/framework/biz/mng/batch/BatchRegMng_list.do";
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/batch/BatchRegMng_input";
sLocationUrl = "forward:/framework/biz/mng/batch/BatchRegMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/batch/BatchRegMng_input";
sLocationUrl = "forward:/framework/biz/mng/batch/BatchRegMng_input.do";
}
break;

@ -235,13 +235,13 @@ public class XitBatchResultMngController {
xitBatchResultMngService.addProc(vo);
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
sLocationUrl = "redirect:/framework/biz/mng/batch/BatchResultMng_list";
sLocationUrl = "redirect:/framework/biz/mng/batch/BatchResultMng_list.do";
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/batch/BatchResultMng_input";
sLocationUrl = "forward:/framework/biz/mng/batch/BatchResultMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/batch/BatchResultMng_input";
sLocationUrl = "forward:/framework/biz/mng/batch/BatchResultMng_input.do";
}
break;

@ -272,13 +272,13 @@ public class XitBatchScheduleMngController {
batchScheduler.insertBatchSchdul(target);
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
sLocationUrl = "redirect:/framework/biz/mng/batch/BatchScheduleMng_list";
sLocationUrl = "redirect:/framework/biz/mng/batch/BatchScheduleMng_list.do";
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/batch/BatchScheduleMng_input";
sLocationUrl = "forward:/framework/biz/mng/batch/BatchScheduleMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/batch/BatchScheduleMng_input";
sLocationUrl = "forward:/framework/biz/mng/batch/BatchScheduleMng_input.do";
}
break;

@ -137,7 +137,7 @@ public class MenuCreateMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/menu/mngMenuCreateMgtForm";
String sLocationUrl = "forward:/framework/biz/mng/menu/mngMenuCreateMgtForm.do";
String message = null;
switch (cmd) {
// case "insert": //등록

@ -165,7 +165,7 @@ public class MenuListMngController {
/**
*
*/
String sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_list";
String sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -176,7 +176,7 @@ public class MenuListMngController {
if (bindingResult.hasErrors()) {
// throw new RuntimeException(xitMessageSource.getMessage("fail.common.insert"));
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
break;
}
//처리
@ -185,10 +185,10 @@ public class MenuListMngController {
message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
}
break;
@ -199,12 +199,12 @@ public class MenuListMngController {
listAttchFile = XitAttachFileUtil.fileUpload(request, XitCmmnUtil.setOsPath("/home/tempUpload"), true, 5);
} catch (RuntimeException | IOException e1) {
message = xitMessageSource.getMessage("fail.common.msg");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
}
if(XitCmmnUtil.isEmpty(listAttchFile)) {
message = xitMessageSource.getMessage("fail.common.msg");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
}else {
FileInputStream fis = null;
try {
@ -235,7 +235,7 @@ public class MenuListMngController {
//2020.09.10 주석처리
// model.addAttribute("message", message);
// return "forward:/framework/biz/mng/menu/MenuListMng_inputs";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
model.addAttribute("message", message);
if(AjaxUtils.isAjaxRequest(request)){ //ajax 요청시
//반환 데이터 설정
@ -261,7 +261,7 @@ public class MenuListMngController {
}
}
}
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
break;
case "update": //수정
@ -272,7 +272,7 @@ public class MenuListMngController {
if (bindingResult.hasErrors()) {
// throw new RuntimeException(xitMessageSource.getMessage("fail.common.update"));
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
break;
}
//처리
@ -281,10 +281,10 @@ public class MenuListMngController {
message = xitMessageSource.getMessage("success.common.update");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
}
break;
@ -295,10 +295,10 @@ public class MenuListMngController {
message = xitMessageSource.getMessage("success.common.delete");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.delete");
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
}
break;

@ -81,7 +81,7 @@
</delete>
<select id="findSndngProcessSttus" resultType="kr.xit.fims.biz.rt.rt0200.model.Rt0200VO">
<select id="findSndngProcessSttus" resultType="kr.xit.fims.biz.rt.model.Rt0200VO">
SELECT CODE AS SEARCH_CODE
, CODE_NM AS SEARCH_CODE_NM
FROM XIT_CMMN_DETAIL_CODE

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.fims.biz.rt.rt0200.mapper.Rt0200Mapper">
<mapper namespace="kr.xit.fims.biz.rt.mapper.Rt0200Mapper">
<select id="findList" parameterType="map" resultType="caseMap">
/* Rt0200-mysql-mapper|findList-단속자료현황 조회|julim */
<select id="selectRt0200List" parameterType="map" resultType="caseMap">
/* Rt0200-mysql-mapper|selectRt0200List-단속자료현황 조회|julim */
SELECT TR.vhcle_no
, TON.owner_nm
, TR.violt_place
@ -67,22 +67,22 @@
</if>
</select>
<select id="findView" parameterType="kr.xit.fims.biz.rt.rt0200.model.Rt0200VO" resultType="kr.xit.fims.biz.rt.rt0200.model.Rt0200VO">
/* Rt0200-mysql-mapper|findView-단속자료정보조회|julim */
<select id="selectRt0200" parameterType="string" resultType="kr.xit.fims.biz.rt.model.Rt0200VO">
/* Rt0200-mysql-mapper|selectRt0200-단속자료정보조회|julim */
SELECT TR.*
FROM TB_REGLT TR
INNER JOIN TB_OWNER TON
ON (TR.OWNER_ID = TON.OWNER_ID)
LEFT OUTER JOIN TB_ERPP TE
ON (TR.REGLT_ID = TE.REGLT_ID)
WHERE TR.REGLT_ID = #{reglt_id}
FROM tb_reglt TR
INNER JOIN tb_owner TON
ON (TR.owner_id = TON.owner_id)
LEFT OUTER JOIN tb_erpp TE
ON (TR.reglt_id = TE.reglt_id)
WHERE TR.reglt_id = #{reglt_id}
</select>
<select id="findSndngProcessSttus" resultType="kr.xit.fims.biz.rt.rt0200.model.Rt0200VO">
<select id="findSndngProcessSttus" resultType="kr.xit.fims.biz.rt.model.Rt0200VO">
SELECT CODE AS SEARCH_CODE
, CODE_NM AS SEARCH_CODE_NM
FROM XIT_CMMN_DETAIL_CODE

@ -227,7 +227,7 @@
//initialRequest: false, // 화면 load시 조회 않함 - default
api: {
readData: {
url: '<c:url value="/rt/rt0200/finds.do"/>'
url: '<c:url value="/fims/biz/rt/findRt0200List.do"/>'
, serializer: (params) => fnAddPageInfo(document.frmSearch, params)
}
}

@ -397,7 +397,7 @@
initialRequest: false,
api: {
readData : {
url: '<c:url value="/rt/rt0200/finds.do"/>'
url: '<c:url value="/fims/biz//rt/findRt0200List.do"/>'
, method: 'GET'
,serializer: function(params) {
var form = document.frmSearch;

@ -394,7 +394,7 @@
var params = "";
params += "selectedId=" + rowData.reglt_id;
Rt0200_main.pagePopup('detail', '<c:url value="/rt/rt0200/detail.do"/>', params);
Rt0200_main.pagePopup('detail', '<c:url value="/fims/biz/rt/findRt0200.do"/>', params);
}
}
@ -468,7 +468,7 @@
}
const dataSource = {
readData: {
url: '<c:url value="/rt/rt0200/finds2.do"/>'
url: '<c:url value="/rt/findRt0200List.do"/>'
}
}
//let instance_t1 = init2();

@ -227,7 +227,7 @@
//initialRequest: false, // 화면 load시 조회 않함 - default
api: {
readData: {
url: '<c:url value="/fims/biz/rt/rt0200/finds.do"/>'
url: '<c:url value="/fims/biz/rt/findRt0200List.do"/>'
, serializer: (params) => fnAddPageInfo(document.frmSearch, params)
}
}
Loading…
Cancel
Save