|
|
|
@ -15,6 +15,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|
|
|
|
|
|
|
|
|
import cokr.xit.foundation.component.AbstractServiceBean;
|
|
|
|
|
import kr.xit.fims.biz.cmm.service.FimsCrackdownMgtService;
|
|
|
|
|
import kr.xit.fims.framework.biz.cmm.service.XitFrameCodeService;
|
|
|
|
|
import org.apache.commons.io.FileUtils;
|
|
|
|
|
import org.apache.ibatis.session.RowBounds;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
@ -42,6 +43,8 @@ import kr.xit.fims.framework.support.util.xml.XmlParseUtils;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
@Slf4j
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
@Service
|
|
|
|
@ -57,6 +60,8 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
|
|
|
|
|
|
|
|
|
|
@Value("#{prop['file.upload.temp.path']}")
|
|
|
|
|
private String uploadTempPath;
|
|
|
|
|
@Resource(name = "xitFrameCodeService")
|
|
|
|
|
private XitFrameCodeService xitFrameCodeService;
|
|
|
|
|
|
|
|
|
|
private final FimsCrackdownMgtMapper mapper;
|
|
|
|
|
private final RtCrackdownMgtMapper rtCrackdownMgtMapper;
|
|
|
|
@ -260,7 +265,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
|
|
|
|
|
|
|
|
|
|
erppDTO.setRgtr(getUserInfo().getUniqId());
|
|
|
|
|
erppDTO.setSysSeCd(getUserInfo().getOrgnztId());
|
|
|
|
|
erppDTO.setSggCd(getUserInfo().getPstinstCode());
|
|
|
|
|
erppDTO.setSggCd(xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode()));
|
|
|
|
|
rtCrackdownMgtMapper.insertRtErpp(erppDTO);
|
|
|
|
|
|
|
|
|
|
// 시민신고인 경우
|
|
|
|
@ -311,7 +316,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void addCtznSttemntCmplt(final FimsCrackdownDTO.CtznSttemntCmplt dto) {
|
|
|
|
|
dto.setSggCd(getUserInfo().getPstinstCode());
|
|
|
|
|
dto.setSggCd(xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode()));
|
|
|
|
|
dto.setRgtr(getUserInfo().getUniqId());
|
|
|
|
|
mapper.insertCtznSttemntCmplt(dto);
|
|
|
|
|
}
|
|
|
|
@ -412,7 +417,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
|
|
|
|
|
|
|
|
|
|
String ansTxt = getAnswerText(mapper.selectCtznAnswerTmplInfo(ansReqDTO));
|
|
|
|
|
CtznStmtDTO.Ans ansDTO = CtznStmtDTO.Ans.builder()
|
|
|
|
|
.sggCd(getUserInfo().getPstinstCode())
|
|
|
|
|
.sggCd(xitFrameCodeService.instCdToSggCd(getUserInfo().getPstinstCode()))
|
|
|
|
|
.sysSeCd(getUserInfo().getOrgnztId())
|
|
|
|
|
.interfaceSeqN(saveDTO.getInterfaceSeqN())
|
|
|
|
|
.cvplProcessResult(ansTxt)
|
|
|
|
|