|
|
|
@ -24,6 +24,7 @@ import cokr.xit.base.file.FileInfo;
|
|
|
|
|
import cokr.xit.base.file.web.FileInfoFactory;
|
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
|
import cokr.xit.fims.base.FimsUser;
|
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
|
import cokr.xit.fims.cmmn.service.bean.StngBean;
|
|
|
|
|
import cokr.xit.fims.cmmn.xls.FormatMaker;
|
|
|
|
|
import cokr.xit.fims.cmmn.xls.StyleMaker;
|
|
|
|
@ -160,9 +161,9 @@ public class Rent02Controller extends ApplicationController {
|
|
|
|
|
valueMap.put("납부자구분", format.of("RTPYR_SE_NM").style(center));
|
|
|
|
|
valueMap.put("납부자번호", format.of("RTPYR_NO").style(center));
|
|
|
|
|
valueMap.put("납부자명", format.of("RTPYR_NM"));
|
|
|
|
|
valueMap.put("위반항목", format.of("VLTN_ARTCL"));
|
|
|
|
|
valueMap.put("단속법정동", format.of("CRDN_STDG_NM").style(center));
|
|
|
|
|
valueMap.put("단속장소", format.of("CRDN_PLC"));
|
|
|
|
|
valueMap.put("위반항목", format.of("VLTN_ARTCL"));
|
|
|
|
|
valueMap.put("단속원금", format.of("FFNLG_CRDN_AMT").style(numeric));
|
|
|
|
|
valueMap.put("처리상태", format.of("CRDN_STTS_NM"));
|
|
|
|
|
valueMap.put("등록일시", FormatMaker.yyyy_mm_dd_hh_mm_ss(format, "REG_DT").style(dateDT));
|
|
|
|
@ -591,10 +592,14 @@ public class Rent02Controller extends ApplicationController {
|
|
|
|
|
*/
|
|
|
|
|
@Task("CMN")
|
|
|
|
|
@RequestMapping(name = "임대차계약 승인 대장 등록", value = METHOD_URL.createLeaseContractApproval)
|
|
|
|
|
public ModelAndView createLeaseContractApproval(LsctAprv lsctAprv) {
|
|
|
|
|
public ModelAndView createLeaseContractApproval(HttpServletRequest hreq, LsctAprv lsctAprv) {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
String rtnMsg = "";
|
|
|
|
|
|
|
|
|
|
// 클라이언트 IP 확인
|
|
|
|
|
String remoteAddr = CmmnUtil.getClientIpAddr(hreq);
|
|
|
|
|
lsctAprv.setChgDmndIp(remoteAddr); // 변경 요청 IP
|
|
|
|
|
|
|
|
|
|
// 단건
|
|
|
|
|
if (lsctAprv.getLsctMpngIds() == null || lsctAprv.getLsctMpngIds().length < 1) {
|
|
|
|
|
rtnMsg = lsctMpngService.createLsctAprv(lsctAprv); // 등록
|
|
|
|
@ -632,10 +637,14 @@ public class Rent02Controller extends ApplicationController {
|
|
|
|
|
*/
|
|
|
|
|
@Task("CMN")
|
|
|
|
|
@RequestMapping(name = "임대차계약 승인 대장 삭제", value = METHOD_URL.removeLeaseContractApproval)
|
|
|
|
|
public ModelAndView removeLeaseContractApproval(LsctAprv lsctAprv) {
|
|
|
|
|
public ModelAndView removeLeaseContractApproval(HttpServletRequest hreq, LsctAprv lsctAprv) {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
String rtnMsg = "";
|
|
|
|
|
|
|
|
|
|
// 클라이언트 IP 확인
|
|
|
|
|
String remoteAddr = CmmnUtil.getClientIpAddr(hreq);
|
|
|
|
|
lsctAprv.setChgDmndIp(remoteAddr); // 변경 요청 IP
|
|
|
|
|
|
|
|
|
|
// 단건
|
|
|
|
|
if (lsctAprv.getLsctMpngIds() == null || lsctAprv.getLsctMpngIds().length < 1) {
|
|
|
|
|
rtnMsg = lsctMpngService.removeLsctAprv(lsctAprv); // 삭제
|
|
|
|
|