|
|
@ -1,7 +1,5 @@
|
|
|
|
package kr.xit.fims.biz.ec.web;
|
|
|
|
package kr.xit.fims.biz.ec.web;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Objects;
|
|
|
|
import java.util.Objects;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
@ -9,10 +7,8 @@ import java.util.stream.Collectors;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.Mapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import kr.xit.fims.biz.FimsConst;
|
|
|
|
import kr.xit.fims.biz.FimsConst;
|
|
|
@ -22,7 +18,6 @@ import kr.xit.framework.biz.cmm.model.CmmFileDTO;
|
|
|
|
import kr.xit.framework.biz.cmm.service.ICmmFileService;
|
|
|
|
import kr.xit.framework.biz.cmm.service.ICmmFileService;
|
|
|
|
import kr.xit.framework.core.model.ResultResponse;
|
|
|
|
import kr.xit.framework.core.model.ResultResponse;
|
|
|
|
import kr.xit.framework.support.mybatis.MybatisUtils;
|
|
|
|
import kr.xit.framework.support.mybatis.MybatisUtils;
|
|
|
|
import kr.xit.framework.support.util.ConvertUtils;
|
|
|
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
|
|
|
@ -47,16 +42,15 @@ public class EcCtznSttemntController {
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/ecCtznSttemntMgtPopup")
|
|
|
|
@RequestMapping(value = "/ecCtznSttemntMgtPopup")
|
|
|
|
//@ResponseBody
|
|
|
|
//@ResponseBody
|
|
|
|
public ModelAndView ecCtznSttemntMgtPopup(final String interfaceSeqN){
|
|
|
|
public ModelAndView ecCtznSttemntMgtPopup(final CtznStmtDTO.Request reqDTO){
|
|
|
|
ModelAndView mav = new ModelAndView(FimsConst.FIMS_JSP_BASE_PATH +"ec/ecCtznSttemntMgtPopup.popup");
|
|
|
|
ModelAndView mav = new ModelAndView(FimsConst.FIMS_JSP_BASE_PATH +"ec/ecCtznSttemntMgtPopup.popup");
|
|
|
|
|
|
|
|
|
|
|
|
CtznStmtDTO.Request reqDTO = CtznStmtDTO.Request.builder()
|
|
|
|
CtznStmtDTO.Request newReqDTO = CtznStmtDTO.Request.builder()
|
|
|
|
.interfaceSeqN(interfaceSeqN)
|
|
|
|
.interfaceSeqN(reqDTO.getInterfaceSeqN())
|
|
|
|
//.ctznSttemntDetailSn("01")
|
|
|
|
|
|
|
|
.build();
|
|
|
|
.build();
|
|
|
|
mav.addObject("interfaceSeqN", interfaceSeqN);
|
|
|
|
mav.addObject("reqDTO", reqDTO);
|
|
|
|
mav.addObject("ctznStmtDTO", service.findCtznStmt(reqDTO));
|
|
|
|
mav.addObject("ctznStmtDTO", service.findCtznStmt(newReqDTO));
|
|
|
|
mav.addObject("ctznStmtDtlDTOs", service.findCtznStmtDtls(reqDTO));
|
|
|
|
mav.addObject("ctznStmtDtlDTOs", service.findCtznStmtDtls(newReqDTO));
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|