과태료등록 연계 오류 수정

main
이범준 4 months ago
parent 348120df1c
commit 1219d728f6

@ -11,7 +11,6 @@ import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import cokr.xit.fims.sndb.SndngDtl;
import cokr.xit.fims.cmmn.CmmnUtil; import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.CrdnSttsHstry; import cokr.xit.fims.cmmn.CrdnSttsHstry;
import cokr.xit.fims.cmmn.service.bean.CrdnSttsHstryBean; import cokr.xit.fims.cmmn.service.bean.CrdnSttsHstryBean;
@ -24,6 +23,7 @@ import cokr.xit.fims.nxrp.A03;
import cokr.xit.fims.nxrp.NisIndivQuery; import cokr.xit.fims.nxrp.NisIndivQuery;
import cokr.xit.fims.nxrp.service.bean.NisIndivBean; import cokr.xit.fims.nxrp.service.bean.NisIndivBean;
import cokr.xit.fims.sndb.SndbQuery; import cokr.xit.fims.sndb.SndbQuery;
import cokr.xit.fims.sndb.SndngDtl;
import cokr.xit.fims.sndb.dao.SndngDtlMapper; import cokr.xit.fims.sndb.dao.SndngDtlMapper;
import cokr.xit.fims.sndb.dao.SvbtcMapper; import cokr.xit.fims.sndb.dao.SvbtcMapper;
import cokr.xit.foundation.component.AbstractBean; import cokr.xit.foundation.component.AbstractBean;
@ -128,6 +128,7 @@ public class SndngDtlBean extends AbstractBean {
nisIndivQuery.setCrdnId(sndngDtl.getCrdnId()); nisIndivQuery.setCrdnId(sndngDtl.getCrdnId());
nisIndivQuery.setSndngDtlId(sndngDtl.getSndngDtlId()); nisIndivQuery.setSndngDtlId(sndngDtl.getSndngDtlId());
nisIndivQuery.setSndngYmd(sndngDtl.getSndngYmd());
String a01Msg = nisIndivBean.createNisIndivA01(nisIndivQuery); String a01Msg = nisIndivBean.createNisIndivA01(nisIndivQuery);
try { try {

@ -2317,7 +2317,7 @@ public class Sndb01Controller extends ApplicationController {
*/ */
@Task({"ECA","DPV","PES","DVS"}) @Task({"ECA","DPV","PES","DVS"})
@RequestMapping(name="세외수입 과태료 대장 단속 정보 등록", value=METHOD_URL.setNonTaxReceiptIndividualA01List) @RequestMapping(name="세외수입 과태료 대장 단속 정보 등록", value=METHOD_URL.setNonTaxReceiptIndividualA01List)
public ModelAndView setNonTaxReceiptIndividualA01List(SndbQuery req) { public ModelAndView setNonTaxReceiptIndividualA01List(SndbQuery req, Sndng sndng) {
boolean saved = false; boolean saved = false;
String rtnMsg = ""; String rtnMsg = "";
@ -2333,6 +2333,7 @@ public class Sndb01Controller extends ApplicationController {
sndngDtl.setLinkMngKey(dtlList.get(iLoop).string("LINK_MNG_KEY")); sndngDtl.setLinkMngKey(dtlList.get(iLoop).string("LINK_MNG_KEY"));
sndngDtl.setSndngDtlSttsCd(dtlList.get(iLoop).string("SNDNG_DTL_STTS_CD")); sndngDtl.setSndngDtlSttsCd(dtlList.get(iLoop).string("SNDNG_DTL_STTS_CD"));
sndngDtl.setDelYn("N"); sndngDtl.setDelYn("N");
sndngDtl.setSndngYmd(sndng.getSndngYmd());
rtnMsg = sndngDtlService.setNxrpIndivA01List(sndngDtl); rtnMsg = sndngDtlService.setNxrpIndivA01List(sndngDtl);
if (rtnMsg.contains("[S]")) { if (rtnMsg.contains("[S]")) {

Loading…
Cancel
Save