최초 커밋

master
mjkhan21 1 year ago
commit 16b8338e4a

@ -0,0 +1,140 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cokr.xit.interfaces</groupId>
<artifactId>xit-lntris-special</artifactId>
<version>23.04.01-SNAPSHOT</version>
<packaging>jar</packaging>
<name>xit-lntris-special</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>mvn2s</id>
<url>https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>egovframe</id>
<url>https://maven.egovframe.go.kr/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>maven-public</id>
<url>https://nas.xit.co.kr:8888/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>cokr.xit.interfaces</groupId>
<artifactId>xit-lntris</artifactId>
<version>23.04.01-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
<directory>${basedir}/target</directory>
<finalName>${artifactId}-${version}</finalName>
<resources>
<resource><directory>${basedir}/src/main/resources</directory></resource>
</resources>
<testResources>
<testResource><directory>${basedir}/src/test/resources</directory></testResource>
<testResource><directory>${basedir}/src/main/resources</directory></testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<includes>
<include>**/*.class</include>
</includes>
</configuration>
</plugin>
<!-- EMMA -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<skipTests>true</skipTests>
<reportFormat>xml</reportFormat>
<excludes>
<exclude>**/Abstract*.java</exclude>
<exclude>**/*Suite.java</exclude>
</excludes>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
</plugin>
</plugins>
</build>
<!-- Nexus deploy -->
<distributionManagement>
<snapshotRepository>
<id>maven-snapshot</id>
<url>https://nas.xit.co.kr:8888/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>maven-release</id>
<url>https://nas.xit.co.kr:8888/repository/maven-releases/</url>
</repository>
</distributionManagement>
<!-- Nexus deploy -->
</project>

@ -0,0 +1,312 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB01 extends SpecialInterface<LntrisB01.B01Request, LntrisB01.B01Response> {
/** 일련번호 ID */
private String b01Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0001";
}
@Override
protected B01Request newRequest() {
return new B01Request();
}
@Override
public LntrisB01 setSourceHeaderCodes() {
SourceMessage<B01Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B01Response newResponse() {
return new B01Response();
}
@Override
protected TypeReference<TargetMessage<B01Response>> targetMessageType() {
return new TypeReference<TargetMessage<B01Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B01Request extends SourceMessage.Request {
private B01ReqDetail reqVo;
@Override
public B01ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B01ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B01ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndSeCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
}
/**
* @author mjkhan
*/
@Setter
public static class B01Response extends TargetMessage.Response {
private List<B01RespDetail> resVo1;
public List<B01RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B01RespDetail extends Detail {
/** 일련번호 ID */
private String b01Id;
/** 일련번호 */
private String b01Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 부과키 */
private String lvyKey;
/** 부서명 */
private String dptNm;
/** 부서코드 */
private String dptCd;
/** 자치단체명 */
private String sgbNm;
/** 회계연도 */
private String fyr;
/** 회계구분 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 수납구분명 */
private String rcvmtSeNm;
/** 압류구분명 */
private String szrSeNm;
/** 납부자구분코드 */
private String pyrSeCd;
/** 납부자관리번호 */
private String pyrMngNo;
/** 납부자주소일련번호 */
private String pyrAddrSn;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자상태코드 */
private String pyrSttCd;
/** 납부자상태명 */
private String pyrSttNm;
/** 우편번호 */
private String zip;
/** 납세자주소 */
private String pyrAddr;
/** 지번도로주소구분코드 */
private String lotnoRoadAddrSeCd;
/** 전화번호 */
private String pyrCnpcNo;
/** 휴대폰번호 */
private String pyrMblCnpcNo;
/** 부과구분코드 */
private String lvySeCd;
/** 부과일자 */
private String lvyYmd;
/** 최초납기일자 */
private String frstPidYmd;
/** 납기일자 */
private String lastPidYmd;
/** 납기후일자 */
private String pidAfYmd;
/** 납기후금액 */
private String pidAfAmt;
/** 최초부과금액 */
private String frstPctAmt;
/** 부과상태구분 */
private String lvySttSeNm;
/** 최종본세 */
private String lastPctAmt;
/** 가산금 */
private String lastAdtnAmt;
/** 분납이자 */
private String lastItmIntrAmt;
/** 분납구분 */
private String itmSeNm;
/** 통합구분 */
private String untyLvyDataSeNm;
/** 물건지명 */
private String glNm;
/** 물건지관리번호 */
private String glMngNo;
/** 물건지지번도로주소구분코드 */
private String glLotnoRoadAddrSeCd;
/** 물건지우편번호 */
private String glZip;
/** 물건지주소 */
private String glAddr;
/** 통합가상계좌은행명1 */
private String vtlacBankNm1;
/** 통합가상계좌번호1 */
private String vrActno1;
/** 통합가상계좌은행명2 */
private String vtlacBankNm2;
/** 통합가상계좌번호2 */
private String vrActno2;
/** 통합가상계좌은행명3 */
private String vtlacBankNm3;
/** 통합가상계좌번호3 */
private String vrActno3;
/** 통합가상계좌은행명4 */
private String vtlacBankNm4;
/** 통합가상계좌번호4 */
private String vrActno4;
/** 통합가상계좌은행명5 */
private String vtlacBankNm5;
/** 통합가상계좌번호5 */
private String vrActno5;
/** 통합가상계좌은행명6 */
private String vtlacBankNm6;
/** 통합가상계좌번호6 */
private String vrActno6;
/** 통합가상계좌은행명7 */
private String vtlacBankNm7;
/** 통합가상계좌번호7 */
private String vrActno7;
/** 통합가상계좌은행명8 */
private String vtlacBankNm8;
/** 통합가상계좌번호8 */
private String vrActno8;
/** 통합가상계좌은행명9 */
private String vtlacBankNm9;
/** 통합가상계좌번호9 */
private String vrActno9;
/** 통합가상계좌은행명10 */
private String vtlacBankNm10;
/** 통합가상계좌번호10 */
private String vrActno10;
/** 통합가상계좌은행명11 */
private String vtlacBankNm11;
/** 통합가상계좌번호11 */
private String vrActno11;
/** 통합가상계좌은행명12 */
private String vtlacBankNm12;
/** 통합가상계좌번호12 */
private String vrActno12;
/** 통합가상계좌은행명13 */
private String vtlacBankNm13;
/** 통합가상계좌번호13 */
private String vrActno13;
/** 통합가상계좌은행명14 */
private String vtlacBankNm14;
/** 통합가상계좌번호14 */
private String vrActno14;
/** 통합가상계좌은행명15 */
private String vtlacBankNm15;
/** 통합가상계좌번호15 */
private String vrActno15;
/** 통합가상계좌은행명16 */
private String vtlacBankNm16;
/** 통합가상계좌번호16 */
private String vrActno16;
/** 통합가상계좌은행명17 */
private String vtlacBankNm17;
/** 통합가상계좌번호17 */
private String vrActno17;
/** 통합가상계좌은행명18 */
private String vtlacBankNm18;
/** 통합가상계좌번호18 */
private String vrActno18;
/** 통합가상계좌은행명19 */
private String vtlacBankNm19;
/** 통합가상계좌번호19 */
private String vrActno19;
/** 통합가상계좌은행명20 */
private String vtlacBankNm20;
/** 통합가상계좌번호20 */
private String vrActno20;
/** 전자납부번호 */
private String epayNo;
/** 관리항목1 */
private String mngItemSn1;
/** 관리항목2 */
private String mngItemSn2;
/** 관리항목3 */
private String mngItemSn3;
/** 관리항목4 */
private String mngItemSn4;
/** 관리항목5 */
private String mngItemSn5;
/** 관리항목6 */
private String mngItemSn6;
/** 체납사유코드 */
private String arrRsnCd;
/** 체납사유 */
private String arrRsnNm;
/** 결손구분명 */
private String dftSeNm;
/** 납부자이메일 */
private String pyrEmlAddr;
/** 자동납부구분코드 */
private String autoPaySeCd;
/** 감경구분 */
private String rdtSeNm;
/** 대체압류자동차등록번호 */
private String rpmSzrVhrno;
/** 통합대표키 */
private String untyRprsKey;
}
}

@ -0,0 +1,262 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB02 extends SpecialInterface<LntrisB02.B02Request, LntrisB02.B02Response> {
/** 일련번호 ID */
private String b02Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0002";
}
@Override
protected B02Request newRequest() {
return new B02Request();
}
@Override
public LntrisB02 setSourceHeaderCodes() {
SourceMessage<B02Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B02Response newResponse() {
return new B02Response();
}
@Override
protected TypeReference<TargetMessage<B02Response>> targetMessageType() {
return new TypeReference<TargetMessage<B02Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B02Request extends SourceMessage.Request {
private B02ReqDetail reqVo;
@Override
public B02ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B02ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B02ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndClCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
}
/**
* @author mjkhan
*/
@Setter
public static class B02Response extends TargetMessage.Response {
private List<B02RespDetail> resVo1;
public List<B02RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B02RespDetail extends Detail {
/** 일련번호 ID */
private String b02Id;
/** 일련번호 */
private String b02Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 부과키 */
private String lvyKey;
/** 부서명 */
private String dptNm;
/** 부서코드 */
private String dptCd;
/** 자치단체명 */
private String sgbNm;
/** 회계연도 */
private String fyr;
/** 회계구분 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 수납일련번호 */
private String rcvmtSn;
/** 수납일자 */
private String rcvmtYmd;
/** 수납본세금액 */
private String rcvmtPctAmt;
/** 수납가산금액 */
private String rcvmtAdtnAmt;
/** 분납이자금액 */
private String itmIntrAmt;
/** 수납은행 */
private String rcvmtBank;
/** 수납유형코드 */
private String rcvmtTyCd;
/** 수납유형명 */
private String rcvmtTyNm;
/** 회계일자 */
private String actYmd;
/** 소인일자 */
private String pmkYmd;
/** 최초납기일자 */
private String frstPidYmd;
/** 부과일자 */
private String lvyYmd;
/** 물건지명 */
private String glNm;
/** 통합가상계좌은행명1 */
private String vtlacBankNm1;
/** 통합가상계좌번호1 */
private String vrActno1;
/** 통합가상계좌은행명2 */
private String vtlacBankNm2;
/** 통합가상계좌번호2 */
private String vrActno2;
/** 통합가상계좌은행명3 */
private String vtlacBankNm3;
/** 통합가상계좌번호3 */
private String vrActno3;
/** 통합가상계좌은행명4 */
private String vtlacBankNm4;
/** 통합가상계좌번호4 */
private String vrActno4;
/** 통합가상계좌은행명5 */
private String vtlacBankNm5;
/** 통합가상계좌번호5 */
private String vrActno5;
/** 통합가상계좌은행명6 */
private String vtlacBankNm6;
/** 통합가상계좌번호6 */
private String vrActno6;
/** 통합가상계좌은행명7 */
private String vtlacBankNm7;
/** 통합가상계좌번호7 */
private String vrActno7;
/** 통합가상계좌은행명8 */
private String vtlacBankNm8;
/** 통합가상계좌번호8 */
private String vrActno8;
/** 통합가상계좌은행명9 */
private String vtlacBankNm9;
/** 통합가상계좌번호9 */
private String vrActno9;
/** 통합가상계좌은행명10 */
private String vtlacBankNm10;
/** 통합가상계좌번호10 */
private String vrActno10;
/** 통합가상계좌은행명11 */
private String vtlacBankNm11;
/** 통합가상계좌번호11 */
private String vrActno11;
/** 통합가상계좌은행명12 */
private String vtlacBankNm12;
/** 통합가상계좌번호12 */
private String vrActno12;
/** 통합가상계좌은행명13 */
private String vtlacBankNm13;
/** 통합가상계좌번호13 */
private String vrActno13;
/** 통합가상계좌은행명14 */
private String vtlacBankNm14;
/** 통합가상계좌번호14 */
private String vrActno14;
/** 통합가상계좌은행명15 */
private String vtlacBankNm15;
/** 통합가상계좌번호15 */
private String vrActno15;
/** 통합가상계좌은행명16 */
private String vtlacBankNm16;
/** 통합가상계좌번호16 */
private String vrActno16;
/** 통합가상계좌은행명17 */
private String vtlacBankNm17;
/** 통합가상계좌번호17 */
private String vrActno17;
/** 통합가상계좌은행명18 */
private String vtlacBankNm18;
/** 통합가상계좌번호18 */
private String vrActno18;
/** 통합가상계좌은행명19 */
private String vtlacBankNm19;
/** 통합가상계좌번호19 */
private String vrActno19;
/** 통합가상계좌은행명20 */
private String vtlacBankNm20;
/** 통합가상계좌번호20 */
private String vrActno20;
/** 전자납부번호 */
private String epayNo;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 수납구분코드 */
private String rcvmtSeCd;
/** 수납구분 */
private String rcvmtSttSeCd;
/** 과세번호 */
private String taxnNo;
/** 물건지관리번호 */
private String glMngNo;
/** 물건지주소 */
private String glAddr;
/** 납부자주소 */
private String pyrAddr;
}
}

@ -0,0 +1,164 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB03 extends SpecialInterface<LntrisB03.B03Request, LntrisB03.B03Response> {
/** 일련번호 ID */
private String b03Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0003";
}
@Override
protected B03Request newRequest() {
return new B03Request();
}
@Override
public LntrisB03 setSourceHeaderCodes() {
SourceMessage<B03Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B03Response newResponse() {
return new B03Response();
}
@Override
protected TypeReference<TargetMessage<B03Response>> targetMessageType() {
return new TypeReference<TargetMessage<B03Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B03Request extends SourceMessage.Request {
private B03ReqDetail reqVo;
@Override
public B03ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B03ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B03ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndSeCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
}
/**
* @author mjkhan
*/
@Setter
public static class B03Response extends TargetMessage.Response {
private List<B03RespDetail> resVo1;
public List<B03RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B03RespDetail extends Detail {
/** 일련번호 ID */
private String b03Id;
/** 일련번호 */
private String b03Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 부과키 */
private String lvyKey;
/** 부서코드 */
private String dptCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 물건지명 */
private String glNm;
/** 납부자구분코드 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 결손일련번호 */
private String dftSn;
/** 본세금액 */
private String pctAmt;
/** 이자금액 */
private String intrAmt;
/** 가산금액 */
private String adtnAmt;
/** 결손구분 */
private String dftSeCd;
/** 결손일자 */
private String dftYmd;
/** 결손사유코드 */
private String dftRsnCd;
/** 결손사유 */
private String dftRsn;
/** 부활일자 */
private String revYmd;
/** 부활사유코드 */
private String revRsnCd;
/** 부활사유 */
private String revRsn;
/** 비고내용 */
private String rmCn;
/** 부과번호 */
private String lvyNo;
/** 물건지관리번호 */
private String glMngNo;
/** 물건지지번도로주소구분코드 */
private String glLotnoRoadAddrSeCd;
}
}

@ -0,0 +1,152 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB04 extends SpecialInterface<LntrisB04.B04Request, LntrisB04.B04Response> {
/** 일련번호 ID */
private String b04Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0004";
}
@Override
protected B04Request newRequest() {
return new B04Request();
}
@Override
public LntrisB04 setSourceHeaderCodes() {
SourceMessage<B04Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B04Response newResponse() {
return new B04Response();
}
@Override
protected TypeReference<TargetMessage<B04Response>> targetMessageType() {
return new TypeReference<TargetMessage<B04Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B04Request extends SourceMessage.Request {
private B04ReqDetail reqVo;
@Override
public B04ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B04ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B04ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndSeCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 시작독려일자 */
private String bgngEcgdYmd;
/** 종료독려일자 */
private String endEcgdYmd;
}
/**
* @author mjkhan
*/
@Setter
public static class B04Response extends TargetMessage.Response {
private List<B04RespDetail> resVo1;
public List<B04RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B04RespDetail extends Detail {
/** 일련번호 ID */
private String b04Id;
/** 일련번호 */
private String b04Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 부과키 */
private String lvyKey;
/** 순번 */
private String sn;
/** 부서명 */
private String dptNm;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 납부자명 */
private String pyrNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자관리번호 */
private String pyrMngNo;
/** 독려일자 */
private String ecgdYmd;
/** 납부약속일자 */
private String payPrmYmd;
/** 독려구분 */
private String ecgdSeNm;
/** 독려내역 */
private String ecgdBd;
/** 생성자ID */
private String crtorId;
/** 수정자ID */
private String mdfrId;
}
}

@ -0,0 +1,164 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB05 extends SpecialInterface<LntrisB05.B05Request, LntrisB05.B05Response> {
/** 일련번호 ID */
private String b05Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0005";
}
@Override
protected B05Request newRequest() {
return new B05Request();
}
@Override
public LntrisB05 setSourceHeaderCodes() {
SourceMessage<B05Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B05Response newResponse() {
return new B05Response();
}
@Override
protected TypeReference<TargetMessage<B05Response>> targetMessageType() {
return new TypeReference<TargetMessage<B05Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B05Request extends SourceMessage.Request {
private B05ReqDetail reqVo;
@Override
public B05ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B05ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B05ReqDetail extends Detail {
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
}
/**
* @author mjkhan
*/
@Setter
public static class B05Response extends TargetMessage.Response {
private List<B05RespDetail> resVo1;
public List<B05RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B05RespDetail extends Detail {
/** 일련번호 ID */
private String b05Id;
/** 일련번호 */
private String b05Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 납부자전화번호 */
private String pyrTelno;
/** 납부자휴대폰번호 */
private String pyrMblTelno;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 압류물건구분명 */
private String szrThgSeNm;
/** 압류물건명 */
private String szrThgNm;
/** 압류일자 */
private String szrYmd;
/** 압류구분명 */
private String szrSeNm;
/** 압류해제일자 */
private String szrRmvYmd;
/** 압류해제사유명 */
private String szrRmvRsnNm;
/** 제3채무자구분코드 */
private String gnshSeCd;
/** 체납본세금액 */
private String arrPctAmt;
/** 체납가산금액 */
private String arrAdtnAmt;
/** 등기소코드 */
private String rgsofCd;
/** 법원코드 */
private String curtCd;
/** 법원명 */
private String curtNm;
/** 압류키 */
private String szrKey;
/** 부서명 */
private String dptNm;
/** 자동차압류관리번호 */
private String carSzrMngNo;
/** 물건지관리번호 */
private String glMngNo;
/** 물건지지번도로주소구분코드 */
private String glLotnoRoadAddrSeCd;
}
}

@ -0,0 +1,124 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB06 extends SpecialInterface<LntrisB06.B06Request, LntrisB06.B06Response> {
/** 일련번호 ID */
private String b06Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0006";
}
@Override
protected B06Request newRequest() {
return new B06Request();
}
@Override
public LntrisB06 setSourceHeaderCodes() {
SourceMessage<B06Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B06Response newResponse() {
return new B06Response();
}
@Override
protected TypeReference<TargetMessage<B06Response>> targetMessageType() {
return new TypeReference<TargetMessage<B06Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B06Request extends SourceMessage.Request {
private B06ReqDetail reqVo;
@Override
public B06ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B06ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B06ReqDetail extends Detail {
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
}
/**
* @author mjkhan
*/
@Setter
public static class B06Response extends TargetMessage.Response {
private List<B06RespDetail> resVo1;
public List<B06RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B06RespDetail extends Detail {
/** 일련번호 ID */
private String b06Id;
/** 일련번호 */
private String b06Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 체납본세금액 */
private String arrPctAmt;
/** 체납가산금액 */
private String arrAdtnAmt;
}
}

@ -0,0 +1,170 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB07 extends SpecialInterface<LntrisB07.B07Request, LntrisB07.B07Response> {
/** 일련번호 ID */
private String b07Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0007";
}
@Override
protected B07Request newRequest() {
return new B07Request();
}
@Override
public LntrisB07 setSourceHeaderCodes() {
SourceMessage<B07Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B07Response newResponse() {
return new B07Response();
}
@Override
protected TypeReference<TargetMessage<B07Response>> targetMessageType() {
return new TypeReference<TargetMessage<B07Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B07Request extends SourceMessage.Request {
private B07ReqDetail reqVo;
@Override
public B07ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B07ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B07ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndSeCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
}
/**
* @author mjkhan
*/
@Setter
public static class B07Response extends TargetMessage.Response {
private List<B07RespDetail> resVo1;
public List<B07RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B07RespDetail extends Detail {
/** 일련번호 ID */
private String b07Id;
/** 일련번호 */
private String b07Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 부서코드 */
private String dptCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 부과키 */
private String lvyKey;
/** 부과일자 */
private String lvyYmd;
/** 부서명 */
private String dptNm;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 최초부과금액 */
private String frstPctAmt;
/** 최종본세 */
private String lastPctAmt;
/** 반환금액 */
private String gvbkAmt;
/** 과오납일자 */
private String ovpntYmd;
/** 반환처리일자 */
private String gvbkPrcsYmd;
/** 물건지명 */
private String glNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 휴대폰번호 */
private String pyrMblCnpcNo;
/** 계좌번호 */
private String actno;
/** 반환은행명 */
private String gvbkBankNm;
/** 반환여부 */
private String gvbkYn;
/** 반환사유코드 */
private String gvbkRsnCd;
/** 과오납사유명 */
private String gvbkRsnNm;
/** 물건지지번도로주소구분코드 */
private String glLotnoRoadAddrSeCd;
/** 물건지관리번호 */
private String glMngNo;
}
}

@ -0,0 +1,138 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB08 extends SpecialInterface<LntrisB08.B08Request, LntrisB08.B08Response> {
/** 일련번호 ID */
private String b08Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0008";
}
@Override
protected B08Request newRequest() {
return new B08Request();
}
@Override
public LntrisB08 setSourceHeaderCodes() {
SourceMessage<B08Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B08Response newResponse() {
return new B08Response();
}
@Override
protected TypeReference<TargetMessage<B08Response>> targetMessageType() {
return new TypeReference<TargetMessage<B08Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B08Request extends SourceMessage.Request {
private B08ReqDetail reqVo;
@Override
public B08ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B08ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B08ReqDetail extends Detail {
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
}
/**
* @author mjkhan
*/
@Setter
public static class B08Response extends TargetMessage.Response {
private List<B08RespDetail> resVo1;
public List<B08RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B08RespDetail extends Detail {
/** 일련번호 ID */
private String b08Id;
/** 일련번호 */
private String b08Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 영치자료등록일자 */
private String cdyDataRegYmd;
/** 영치대장키 */
private String cdyAcbKey;
/** 영치자동차등록번호 */
private String cdyVhrno;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 영치상태코드 */
private String cdySttCd;
/** 영치상태 */
private String cdyStt;
/** 영치일자 */
private String cdyYmd;
/** 예고서통지일자 */
private String avncAvtsmtYmd;
/** 영치예고납기일자 */
private String cdyPvntPidYmd;
/** 영치반환일자 */
private String cdyGvbkYmd;
/** 영치반환사유코드 */
private String cdyGvbkRsnCd;
/** 영치반환사유 */
private String cdyGvbkRsn;
/** 영치일시해제시작일자 */
private String cdyDtRmvBgngYmd;
/** 영치일시해제종료일자 */
private String cdyDtRmvEndYmd;
/** 일시해제사유명 */
private String dtRmvRsnNm;
/** 영치주소 */
private String cdyAddr;
/** 비고내용 */
private String rmCn;
}
}

@ -0,0 +1,142 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB09 extends SpecialInterface<LntrisB09.B09Request, LntrisB09.B09Response> {
/** 일련번호 ID */
private String b09Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0009";
}
@Override
protected B09Request newRequest() {
return new B09Request();
}
@Override
public LntrisB09 setSourceHeaderCodes() {
SourceMessage<B09Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B09Response newResponse() {
return new B09Response();
}
@Override
protected TypeReference<TargetMessage<B09Response>> targetMessageType() {
return new TypeReference<TargetMessage<B09Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B09Request extends SourceMessage.Request {
private B09ReqDetail reqVo;
@Override
public B09ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B09ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B09ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndSeCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
}
/**
* @author mjkhan
*/
@Setter
public static class B09Response extends TargetMessage.Response {
private List<B09RespDetail> resVo1;
public List<B09RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B09RespDetail extends Detail {
/** 일련번호 ID */
private String b09Id;
/** 일련번호 */
private String b09Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 부과키 */
private String lvyKey;
/** 발행차수 */
private String pblcnOdr;
/** 발송일자 */
private String sndngYmd;
/** 발송주소 */
private String sndngAddr;
/** 발송납부자명 */
private String sndngPyrNm;
/** 발송납부자등록번호 */
private String sndngPyrRegNo;
/** 발송납부자구분코드 */
private String sndngPyrSeCd;
/** 고지서출력구분코드 */
private String nhtOtptSeCd;
/** 최종본세 */
private String lastPctAmt;
/** 납기일자 */
private String lastPidYmd;
/** 물건지관리번호 */
private String glMngNo;
/** 물건지지번도로주소구분코드 */
private String glLotnoRoadAddrSeCd;
}
}

@ -0,0 +1,174 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB10 extends SpecialInterface<LntrisB10.B10Request, LntrisB10.B10Response> {
/** 일련번호 ID */
private String b10Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0010";
}
@Override
protected B10Request newRequest() {
return new B10Request();
}
@Override
public LntrisB10 setSourceHeaderCodes() {
SourceMessage<B10Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B10Response newResponse() {
return new B10Response();
}
@Override
protected TypeReference<TargetMessage<B10Response>> targetMessageType() {
return new TypeReference<TargetMessage<B10Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B10Request extends SourceMessage.Request {
private B10ReqDetail reqVo;
@Override
public B10ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B10ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B10ReqDetail extends Detail {
/** 요청구분코드 */
private String dmndSeCd;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
}
/**
* @author mjkhan
*/
@Setter
public static class B10Response extends TargetMessage.Response {
private List<B10RespDetail> resVo1;
public List<B10RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B10RespDetail extends Detail {
/** 일련번호 ID */
private String b10Id;
/** 일련번호 */
private String b10Sn;
/** 지방자치단체코드 */
private String sgbCd;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spacBizCd;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 분납일련번호 */
private String itmSn;
/** 주소 */
private String addr;
/** 송달구분코드 */
private String srveSeCd;
/** 송달구분명 */
private String srveSeNm;
/** 우체국기관코드 */
private String pstofcInstCd;
/** 우체국기관명 */
private String pstofcInstNm;
/** 등기번호 */
private String rgNo;
/** 우편물수취인명 */
private String adseNm;
/** 우편물접수일자 */
private String rcptYmd;
/** 우편물발송부서명 */
private String sndngDptNm;
/** 우편물발송담당자명 */
private String sndngPicNm;
/** 우편물수령인명 */
private String rptrNm;
/** 우편물송달일자 */
private String srveYmd;
/** 우편발송결과코드 */
private String sndngRstCd;
/** 우편발송결과명 */
private String sndngRstNm;
/** 우편물반송일자 */
private String sndbkYmd;
/** 우편물반송사유코드 */
private String sndbkRsnCd;
/** 우편물반송사유명 */
private String sndbkRsnNm;
/** 우편물반송사유 상세내용 */
private String sndbkRsnDtlCn;
/** 우편발송결과수신일자 */
private String sndngRstRcptnYmd;
}
}

@ -0,0 +1,180 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB11 extends SpecialInterface<LntrisB11.B11Request, LntrisB11.B11Response> {
/** 일련번호 ID */
private String b11Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0011";
}
@Override
protected B11Request newRequest() {
return new B11Request();
}
@Override
public LntrisB11 setSourceHeaderCodes() {
SourceMessage<B11Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B11Response newResponse() {
return new B11Response();
}
@Override
protected TypeReference<TargetMessage<B11Response>> targetMessageType() {
return new TypeReference<TargetMessage<B11Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B11Request extends SourceMessage.Request {
private B11ReqDetail reqVo;
@Override
public B11ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B11ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B11ReqDetail extends Detail {
/** 자치단체코드 */
private String sgbCd;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 등록일자 */
private String regYmd;
/** 과태료과징금대장키 */
private String finScrgAcbKey;
}
/**
* @author mjkhan
*/
@Setter
public static class B11Response extends TargetMessage.Response {
private List<B11RespDetail> resVo1;
public List<B11RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B11RespDetail extends Detail {
/** 일련번호 ID */
private String b11Id;
/** 일련번호 */
private String b11Sn;
/** 자치단체코드 */
private String sgbCd;
/** 과태료과징금대장키 */
private String finScrgAcbKey;
/** 부서코드 */
private String dptCd;
/** 접수연도 */
private String rcptYr;
/** 특별회계사업코드 */
private String spacBizCd;
/** 특별회계사업명 */
private String spacBizNm;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 운영항목코드 */
private String operItemCd;
/** 운영항목명 */
private String operItemNm;
/** 등록일자 */
private String regYmd;
/** 납부자구분명 */
private String pyrSeNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 자동차등록번호 */
private String vhrno;
/** 관리1항목 */
private String mngItemCn1;
/** 관리2항목 */
private String mngItemCn2;
/** 관리3항목 */
private String mngItemCn3;
/** 관리4항목 */
private String mngItemCn4;
/** 관리5항목 */
private String mngItemCn5;
/** 관리6항목 */
private String mngItemCn6;
/** 시설구분코드 */
private String fcltSeCd;
/** 등록구분코드 */
private String regSeCd;
/** 사전통지일자 */
private String bfAvtsmtYmd;
/** 의견제출기한시작일자 */
private String opnSbmsnTermBgngYmd;
/** 의견제출기한종료일자 */
private String opnSbmsnTermEndYmd;
/** 최초과태료과징금금액 */
private String frstFinScrgAmt;
/** 감경사유구분코드 */
private String rdtRsnSeCd;
/** 가중사유코드 */
private String agvtRsnCd;
/** 감경가중율 */
private String rdtAgvtRt;
/** 과태료과징금금액 */
private String finScrgAmt;
/** 사전감경율 */
private String bfRdtRt;
/** 사전감경금액 */
private String bfRdtAmt;
/** 고지서발송지구분코드 */
private String nhtFrwarSeCd;
/** 종료일자 */
private String endYmd;
}
}

@ -0,0 +1,292 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB12 extends SpecialInterface<LntrisB12.B12Request, LntrisB12.B12Response> {
/** 일련번호 ID */
private String b12Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0012";
}
@Override
protected B12Request newRequest() {
return new B12Request();
}
@Override
public LntrisB12 setSourceHeaderCodes() {
SourceMessage<B12Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B12Response newResponse() {
return new B12Response();
}
@Override
protected TypeReference<TargetMessage<B12Response>> targetMessageType() {
return new TypeReference<TargetMessage<B12Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B12Request extends SourceMessage.Request {
private B12ReqDetail reqVo;
@Override
public B12ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B12ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B12ReqDetail extends Detail {
/** 자치단체코드 */
private String sgbCd;
/** 과태료과징금대장키 */
private String finScrgAcbKey;
}
/**
* @author mjkhan
*/
@Setter
public static class B12Response extends TargetMessage.Response {
private List<B12RespDetail> resVo1;
public List<B12RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B12RespDetail extends Detail {
/** 일련번호 ID */
private String b12Id;
/** 일련번호 */
private String b12Sn;
/** 자치단체코드 */
private String sgbCd;
/** 과태료과징금대장키 */
private String finScrgAcbKey;
/** 부서코드 */
private String dptCd;
/** 부서명 */
private String dptNm;
/** 접수연도 */
private String rcptYr;
/** 특별회계사업코드 */
private String spacBizCd;
/** 특별회계사업명 */
private String spacBizNm;
/** 회계구분코드 */
private String actSeCd;
/** 회계구분명 */
private String actSeNm;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 운영항목코드 */
private String operItemCd;
/** 운영항목명 */
private String operItemNm;
/** 등록일자 */
private String regYmd;
/** 납부자구분코드 */
private String pyrSeCd;
/** 납부자구분명 */
private String pyrSeNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 자동차등록번호 */
private String vhrno;
/** 관리1항목 */
private String mngItemCn1;
/** 관리2항목 */
private String mngItemCn2;
/** 관리3항목 */
private String mngItemCn3;
/** 관리4항목 */
private String mngItemCn4;
/** 관리5항목 */
private String mngItemCn5;
/** 관리6항목 */
private String mngItemCn6;
/** 시설구분코드 */
private String fcltSeCd;
/** 시설구분명 */
private String fcltSeNm;
/** 등록구분코드 */
private String regSeCd;
/** 등록구분명 */
private String regSeNm;
/** 사전통지일자 */
private String bfAvtsmtYmd;
/** 의견제출기한시작일자 */
private String opnSbmsnTermBgngYmd;
/** 의견제출기한종료일자 */
private String opnSbmsnTermEndYmd;
/** 최초과태료과징금금액 */
private String frstFinScrgAmt;
/** 감경사유구분코드 */
private String rdtRsnSeCd;
/** 감경사유구분명 */
private String rdtRsnSeNm;
/** 가중사유코드 */
private String agvtRsnCd;
/** 가중사유명 */
private String agvtRsnNm;
/** 감경가중율 */
private String rdtAgvtRt;
/** 과태료과징금금액 */
private String finScrgAmt;
/** 사전감경율 */
private String bfRdtRt;
/** 사전감경금액 */
private String bfRdtAmt;
/** 비고내용 */
private String rmCn;
/** 감경비고내용 */
private String rdtRmCn;
/** 고지서발송지구분코드 */
private String nhtFrwarSeCd;
/** 고지서발송지구분명 */
private String nhtFrwarSeNm;
/** 종료일자 */
private String endYmd;
/** 종료사유내용 */
private String endRsnCn;
/** 수납구분코드 */
private String rcvmtSeCd;
/** 수납구분명 */
private String rcvmtSeNm;
/** 전자납부번호 */
private String epayNo;
/** 가상계좌은행명1 */
private String vtlacBankNm1;
/** 가상계좌번호1 */
private String vrActno1;
/** 가상계좌은행명2 */
private String vtlacBankNm2;
/** 가상계좌번호2 */
private String vrActno2;
/** 가상계좌은행명3 */
private String vtlacBankNm3;
/** 가상계좌번호3 */
private String vrActno3;
/** 가상계좌은행명4 */
private String vtlacBankNm4;
/** 가상계좌번호4 */
private String vrActno4;
/** 가상계좌은행명5 */
private String vtlacBankNm5;
/** 가상계좌번호5 */
private String vrActno5;
/** 가상계좌은행명6 */
private String vtlacBankNm6;
/** 가상계좌번호6 */
private String vrActno6;
/** 가상계좌은행명7 */
private String vtlacBankNm7;
/** 가상계좌번호7 */
private String vrActno7;
/** 가상계좌은행명8 */
private String vtlacBankNm8;
/** 가상계좌번호8 */
private String vrActno8;
/** 가상계좌은행명9 */
private String vtlacBankNm9;
/** 가상계좌번호9 */
private String vrActno9;
/** 가상계좌은행명10 */
private String vtlacBankNm10;
/** 가상계좌번호10 */
private String vrActno10;
/** 가상계좌은행명11 */
private String vtlacBankNm11;
/** 가상계좌번호11 */
private String vrActno11;
/** 가상계좌은행명12 */
private String vtlacBankNm12;
/** 가상계좌번호12 */
private String vrActno12;
/** 가상계좌은행명13 */
private String vtlacBankNm13;
/** 가상계좌번호13 */
private String vrActno13;
/** 가상계좌은행명14 */
private String vtlacBankNm14;
/** 가상계좌번호14 */
private String vrActno14;
/** 가상계좌은행명15 */
private String vtlacBankNm15;
/** 가상계좌번호15 */
private String vrActno15;
/** 가상계좌은행명16 */
private String vtlacBankNm16;
/** 가상계좌번호16 */
private String vrActno16;
/** 가상계좌은행명17 */
private String vtlacBankNm17;
/** 가상계좌번호17 */
private String vrActno17;
/** 가상계좌은행명18 */
private String vtlacBankNm18;
/** 가상계좌번호18 */
private String vrActno18;
/** 가상계좌은행명19 */
private String vtlacBankNm19;
/** 가상계좌번호19 */
private String vrActno19;
/** 가상계좌은행명20 */
private String vtlacBankNm20;
/** 가상계좌번호20 */
private String vrActno20;
/** 예비항목1 */
private String rsveItem1;
/** 예비항목2 */
private String rsveItem2;
/** 예비항목3 */
private String rsveItem3;
/** 예비항목4 */
private String rsveItem4;
/** 예비항목5 */
private String rsveItem5;
}
}

@ -0,0 +1,180 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB13 extends SpecialInterface<LntrisB13.B13Request, LntrisB13.B13Response> {
/** 일련번호 ID */
private String b13Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0013";
}
@Override
protected B13Request newRequest() {
return new B13Request();
}
@Override
public LntrisB13 setSourceHeaderCodes() {
SourceMessage<B13Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B13Response newResponse() {
return new B13Response();
}
@Override
protected TypeReference<TargetMessage<B13Response>> targetMessageType() {
return new TypeReference<TargetMessage<B13Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B13Request extends SourceMessage.Request {
private B13ReqDetail reqVo;
@Override
public B13ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B13ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B13ReqDetail extends Detail {
/** 자치단체코드 */
private String sgbCd;
/** 자동차등록번호 */
private String vhrno;
/** 단속일자 */
private String rgtnYmd;
/** 주정차위반대장키 */
private String prkgVltAcbKey;
}
/**
* @author mjkhan
*/
@Setter
public static class B13Response extends TargetMessage.Response {
private List<B13RespDetail> resVo1;
public List<B13RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B13RespDetail extends Detail {
/** 일련번호 ID */
private String b13Id;
/** 일련번호 */
private String b13Sn;
/** 자치단체코드 */
private String sgbCd;
/** 주정차위반대장키 */
private String prkgVltAcbKey;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spclFisBizCd;
/** 특별회계사업명 */
private String spclFisBizNm;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 운영항목코드 */
private String operItemCd;
/** 운영항목명 */
private String operItemNm;
/** 납부자구분명 */
private String pyrSeNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 자동차등록번호 */
private String vhrno;
/** 차량명 */
private String vhclNm;
/** 단속구분코드 */
private String rgtnSeCd;
/** 단속일자 */
private String rgtnYmd;
/** 단속시간 */
private String rgtnHr;
/** 시간초과여부 */
private String hrExcessYn;
/** 단속장소명 */
private String rgtnPlcNm;
/** 주정차위반구분코드 */
private String prkgVltSeCd;
/** 도로교통법차종종별코드 */
private String roadTrsptLawVintpAsmCd;
/** 단속특별구역구분코드 */
private String rgtnSpeclZoneSeCd;
/** 사전통지일자 */
private String bfAvtsmtYmd;
/** 의견제출기한시작일자 */
private String opnSbmsnTermBgngYmd;
/** 의견제출기한종료일자 */
private String opnSbmsnTermEndYmd;
/** 최초과태료 */
private String frstFin;
/** 감경사유구분코드 */
private String rdtRsnSeCd;
/** 감경율 */
private String rdtRt;
/** 과태료 */
private String fin;
/** 사전감경율 */
private String bfRdtRt;
/** 사전감경금액 */
private String bfRdtAmt;
/** 비부과처리구분코드 */
private String nlvyPrcsSeCd;
/** 면제사유구분코드 */
private String emptRsnSeCd;
/** 서손구분코드 */
private String erppSeCd;
/** 종료일자 */
private String endYmd;
/** 현재상태코드 */
private String nowSttCd;
}
}

@ -0,0 +1,299 @@
package cokr.xit.interfaces.lntris.special.b;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB14 extends SpecialInterface<LntrisB14.B14Request, LntrisB14.B14Response> {
/** 일련번호 ID */
private String b14Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0014";
}
@Override
protected B14Request newRequest() {
return new B14Request();
}
@Override
public LntrisB14 setSourceHeaderCodes() {
SourceMessage<B14Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B14Response newResponse() {
return new B14Response();
}
@Override
protected TypeReference<TargetMessage<B14Response>> targetMessageType() {
return new TypeReference<TargetMessage<B14Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B14Request extends SourceMessage.Request {
private B14ReqDetail reqVo;
@Override
public B14ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B14ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B14ReqDetail extends Detail {
/** 자치단체코드 */
private String sgbCd;
/** 주정차위반대장키 */
private String prkgVltAcbKey;
}
/**
* @author mjkhan
*/
@Setter
public static class B14Response extends TargetMessage.Response {
private B14RespDetail resVo1;
public B14RespDetail getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new B14RespDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B14RespDetail extends Detail {
/** 일련번호 ID */
private String b14Id;
/** 일련번호 */
private String b14Sn;
/** 자치단체코드 */
private String sgbCd;
/** 자치단체명 */
private String sgbNm;
/** 주정차위반대장키 */
private String prkgVltAcbKey;
/** 부서코드 */
private String dptCd;
/** 부서명 */
private String dptNm;
/** 특별회계사업코드 */
private String spclFisBizCd;
/** 특별회계사업명 */
private String spclFisBizNm;
/** 회계구분코드 */
private String actSeCd;
/** 회계구분명 */
private String actSeNm;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 운영항목코드 */
private String operItemCd;
/** 운영항목명 */
private String operItemNm;
/** 납부자구분명 */
private String pyrSeNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 자동차등록번호 */
private String vhrno;
/** 차량명 */
private String vhclNm;
/** 단속구분코드 */
private String rgtnSeCd;
/** 단속구분명 */
private String rgtnSeNm;
/** 단속일자 */
private String rgtnYmd;
/** 단속시간 */
private String rgtnHr;
/** 시간초과여부 */
private String hrExcessYn;
/** 단속장소명 */
private String rgtnPlcNm;
/** 법조항내용 */
private String lawAtclCn;
/** 주정차위반구분코드 */
private String prkgVltSeCd;
/** 주정차위반구분명 */
private String prkgVltSeNm;
/** 주정차위반구분기타사유내용 */
private String prkgVltSeEtcRsnCn;
/** 도로교통법차종종별코드 */
private String roadTrsptLawVintpAsmCd;
/** 도로교통법차종종별명 */
private String roadTrsptLawVintpAsmNm;
/** GPS좌표X축 */
private String gpsCdnXaxs;
/** GPS좌표Y축 */
private String gpsCdnYaxs;
/** 단속특별구역구분코드 */
private String rgtnSpeclZoneSeCd;
/** 단속특별구역구분명 */
private String rgtnSpeclZoneSeNm;
/** 사전통지일자 */
private String bfAvtsmtYmd;
/** 의견제출기한시작일자 */
private String opnSbmsnTermBgngYmd;
/** 의견제출기한종료일자 */
private String opnSbmsnTermEndYmd;
/** 최초과태료 */
private String frstFin;
/** 감경사유구분코드 */
private String rdtRsnSeCd;
/** 감경사유구분명 */
private String rdtRsnSeNm;
/** 감경율 */
private String rdtRt;
/** 과태료 */
private String fin;
/** 사전감경율 */
private String bfRdtRt;
/** 사전감경금액 */
private String bfRdtAmt;
/** 비부과처리구분코드 */
private String nlvyPrcsSeCd;
/** 비부과처리구분명 */
private String nlvyPrcsSeNm;
/** 면제사유구분코드 */
private String emptRsnSeCd;
/** 면제사유구분명 */
private String emptRsnSeNm;
/** 서손구분코드 */
private String erppSeCd;
/** 서손구분명 */
private String erppSeNm;
/** 종료일자 */
private String endYmd;
/** 종료사유내용 */
private String endRsnCn;
/** 수납구분명 */
private String rcvmtSeNm;
/** 전자납부번호 */
private String epayNo;
/** 가상계좌은행명1 */
private String vtlacBankNm1;
/** 가상계좌번호1 */
private String vrActno1;
/** 가상계좌은행명2 */
private String vtlacBankNm2;
/** 가상계좌번호2 */
private String vrActno2;
/** 가상계좌은행명3 */
private String vtlacBankNm3;
/** 가상계좌번호3 */
private String vrActno3;
/** 가상계좌은행명4 */
private String vtlacBankNm4;
/** 가상계좌번호4 */
private String vrActno4;
/** 가상계좌은행명5 */
private String vtlacBankNm5;
/** 가상계좌번호5 */
private String vrActno5;
/** 가상계좌은행명6 */
private String vtlacBankNm6;
/** 가상계좌번호6 */
private String vrActno6;
/** 가상계좌은행명7 */
private String vtlacBankNm7;
/** 가상계좌번호7 */
private String vrActno7;
/** 가상계좌은행명8 */
private String vtlacBankNm8;
/** 가상계좌번호8 */
private String vrActno8;
/** 가상계좌은행명9 */
private String vtlacBankNm9;
/** 가상계좌번호9 */
private String vrActno9;
/** 가상계좌은행명10 */
private String vtlacBankNm10;
/** 가상계좌번호10 */
private String vrActno10;
/** 가상계좌은행명11 */
private String vtlacBankNm11;
/** 가상계좌번호11 */
private String vrActno11;
/** 가상계좌은행명12 */
private String vtlacBankNm12;
/** 가상계좌번호12 */
private String vrActno12;
/** 가상계좌은행명13 */
private String vtlacBankNm13;
/** 가상계좌번호13 */
private String vrActno13;
/** 가상계좌은행명14 */
private String vtlacBankNm14;
/** 가상계좌번호14 */
private String vrActno14;
/** 가상계좌은행명15 */
private String vtlacBankNm15;
/** 가상계좌번호15 */
private String vrActno15;
/** 가상계좌은행명16 */
private String vtlacBankNm16;
/** 가상계좌번호16 */
private String vrActno16;
/** 가상계좌은행명17 */
private String vtlacBankNm17;
/** 가상계좌번호17 */
private String vrActno17;
/** 가상계좌은행명18 */
private String vtlacBankNm18;
/** 가상계좌번호18 */
private String vrActno18;
/** 가상계좌은행명19 */
private String vtlacBankNm19;
/** 가상계좌번호19 */
private String vrActno19;
/** 가상계좌은행명20 */
private String vtlacBankNm20;
/** 가상계좌번호20 */
private String vrActno20;
/** 예비항목1 */
private String rsveItem1;
/** 예비항목2 */
private String rsveItem2;
/** 예비항목3 */
private String rsveItem3;
/** 예비항목4 */
private String rsveItem4;
/** 예비항목5 */
private String rsveItem5;
/** 현재상태명 */
private String nowSttNm;
}
}

@ -0,0 +1,178 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB15 extends SpecialInterface<LntrisB15.B15Request, LntrisB15.B15Response> {
/** 일련번호 ID */
private String b15Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0015";
}
@Override
protected B15Request newRequest() {
return new B15Request();
}
@Override
public LntrisB15 setSourceHeaderCodes() {
SourceMessage<B15Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B15Response newResponse() {
return new B15Response();
}
@Override
protected TypeReference<TargetMessage<B15Response>> targetMessageType() {
return new TypeReference<TargetMessage<B15Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B15Request extends SourceMessage.Request {
private B15ReqDetail reqVo;
@Override
public B15ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B15ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B15ReqDetail extends Detail {
/** 자치단체코드 */
private String sgbCd;
/** 자동차등록번호 */
private String vhrno;
/** 단속일자 */
private String rgtnYmd;
/** 전용차로위반대장키 */
private String prtusCartkVltAcbKey;
}
/**
* @author mjkhan
*/
@Setter
public static class B15Response extends TargetMessage.Response {
private List<B15RespDetail> resVo1;
public List<B15RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B15RespDetail extends Detail {
/** 일련번호 ID */
private String b15Id;
/** 일련번호 */
private String b15Sn;
/** 자치단체코드 */
private String sgbCd;
/** 전용차로위반대장키 */
private String prtusCartkVltAcbKey;
/** 부서코드 */
private String dptCd;
/** 특별회계사업코드 */
private String spclFisBizCd;
/** 특별회계사업명 */
private String spclFisBizNm;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 운영항목코드 */
private String operItemCd;
/** 운영항목명 */
private String operItemNm;
/** 납부자구분코드 */
private String pyrSeCd;
/** 납부자구분명 */
private String pyrSeNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 자동차등록번호 */
private String vhrno;
/** 차량명 */
private String vhclNm;
/** 단속구분코드 */
private String rgtnSeCd;
/** 단속일자 */
private String rgtnYmd;
/** 단속시간 */
private String rgtnHr;
/** 단속장소명 */
private String rgtnPlcNm;
/** 전용차로위반구분코드 */
private String prtusCartkVltSeCd;
/** 도로교통법차종종별코드 */
private String roadTrsptLawVintpAsmCd;
/** 사전통지일자 */
private String bfAvtsmtYmd;
/** 의견제출기한시작일자 */
private String opnSbmsnTermBgngYmd;
/** 의견제출기한종료일자 */
private String opnSbmsnTermEndYmd;
/** 최초과태료 */
private String frstFin;
/** 감경사유구분코드 */
private String rdtRsnSeCd;
/** 감경율 */
private String rdtRt;
/** 과태료 */
private String fin;
/** 사전감경율 */
private String bfRdtRt;
/** 사전감경금액 */
private String bfRdtAmt;
/** 비부과처리구분코드 */
private String nlvyPrcsSeCd;
/** 면제사유구분코드 */
private String emptRsnSeCd;
/** 서손구분코드 */
private String erppSeCd;
/** 종료일자 */
private String endYmd;
/** 현재상태명 */
private String nowSttNm;
}
}

@ -0,0 +1,296 @@
package cokr.xit.interfaces.lntris.special.b;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
import cokr.xit.interfaces.lntris.SourceMessage;
import cokr.xit.interfaces.lntris.SpecialInterface;
import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
* @author mjkhan
*/
@Getter
@Setter
public class LntrisB16 extends SpecialInterface<LntrisB16.B16Request, LntrisB16.B16Response> {
/** 일련번호 ID */
private String b16Id;
@Override
public String interfaceID() {
return "ERR_Z000012LGS_1741000NIS_0016";
}
@Override
protected B16Request newRequest() {
return new B16Request();
}
@Override
public LntrisB16 setSourceHeaderCodes() {
SourceMessage<B16Request> srcMsg = getSourceMessage();
srcMsg.getHeader().setSource(srcMsg.getBody().getReqVo().getSgbCd() + getTaskSeCd());
return this;
}
@Override
protected B16Response newResponse() {
return new B16Response();
}
@Override
protected TypeReference<TargetMessage<B16Response>> targetMessageType() {
return new TypeReference<TargetMessage<B16Response>>() {};
}
/**
* @author mjkhan
*/
@Setter
public static class B16Request extends SourceMessage.Request {
private B16ReqDetail reqVo;
@Override
public B16ReqDetail getReqVo() {
return reqVo != null ? reqVo : (reqVo = new B16ReqDetail());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B16ReqDetail extends Detail {
/** 자치단체코드 */
private String sgbCd;
/** 전용차로위반대장키 */
private String prtusCartkVltAcbKey;
}
/**
* @author mjkhan
*/
@Setter
public static class B16Response extends TargetMessage.Response {
private List<B16RespDetail> resVo1;
public List<B16RespDetail> getResVo1() {
return resVo1 != null ? resVo1 : (resVo1 = new ArrayList<>());
}
}
/**
* @author mjkhan
*/
@Getter
@Setter
public static class B16RespDetail extends Detail {
/** 일련번호 ID */
private String b16Id;
/** 일련번호 */
private String b16Sn;
/** 자치단체코드 */
private String sgbCd;
/** 자치단체명 */
private String sgbNm;
/** 전용차로위반대장키 */
private String prtusCartkVltAcbKey;
/** 부서코드 */
private String dptCd;
/** 부서명 */
private String dptNm;
/** 특별회계사업코드 */
private String spclFisBizCd;
/** 특별회계사업명 */
private String spclFisBizNm;
/** 회계구분코드 */
private String actSeCd;
/** 회계구분명 */
private String actSeNm;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 대표세입과목명 */
private String rprsTxmNm;
/** 운영항목코드 */
private String operItemCd;
/** 운영항목명 */
private String operItemNm;
/** 납부자구분코드 */
private String pyrSeCd;
/** 납부자구분명 */
private String pyrSeNm;
/** 납부자번호 */
private String pyrNo;
/** 납부자명 */
private String pyrNm;
/** 납부자우편번호 */
private String pyrZip;
/** 납부자주소 */
private String pyrAddr;
/** 자동차등록번호 */
private String vhrno;
/** 차량명 */
private String vhclNm;
/** 단속구분코드 */
private String rgtnSeCd;
/** 단속구분명 */
private String rgtnSeNm;
/** 단속일자 */
private String rgtnYmd;
/** 단속시간 */
private String rgtnHr;
/** 단속장소명 */
private String rgtnPlcNm;
/** 법조항내용 */
private String lawAtclCn;
/** 전용차로위반구분코드 */
private String prtusCartkVltSeCd;
/** 전용차로위반구분명 */
private String prtusCartkVltSeNm;
/** 도로교통법차종종별코드 */
private String roadTrsptLawVintpAsmCd;
/** 도로교통법차종종별명 */
private String roadTrsptLawVintpAsmNm;
/** GPS좌표X축 */
private String gpsCdnXaxs;
/** GPS좌표Y축 */
private String gpsCdnYaxs;
/** 사전통지일자 */
private String bfAvtsmtYmd;
/** 의견제출기한시작일자 */
private String opnSbmsnTermBgngYmd;
/** 의견제출기한종료일자 */
private String opnSbmsnTermEndYmd;
/** 최초과태료 */
private String frstFin;
/** 감경사유구분코드 */
private String rdtRsnSeCd;
/** 감경사유구분명 */
private String rdtRsnSeNm;
/** 감경율 */
private String rdtRt;
/** 과태료 */
private String fin;
/** 사전감경율 */
private String bfRdtRt;
/** 사전감경금액 */
private String bfRdtAmt;
/** 비부과처리구분코드 */
private String nlvyPrcsSeCd;
/** 비부과처리구분명 */
private String nlvyPrcsSeNm;
/** 면제사유구분코드 */
private String emptRsnSeCd;
/** 면제사유구분명 */
private String emptRsnSeNm;
/** 서손구분코드 */
private String erppSeCd;
/** 서손구분명 */
private String erppSeNm;
/** 종료일자 */
private String endYmd;
/** 종료사유내용 */
private String endRsnCn;
/** 수납구분명 */
private String rcvmtSeNm;
/** 전자납부번호 */
private String epayNo;
/** 가상계좌은행명1 */
private String vtlacBankNm1;
/** 가상계좌번호1 */
private String vrActno1;
/** 가상계좌은행명2 */
private String vtlacBankNm2;
/** 가상계좌번호2 */
private String vrActno2;
/** 가상계좌은행명3 */
private String vtlacBankNm3;
/** 가상계좌번호3 */
private String vrActno3;
/** 가상계좌은행명4 */
private String vtlacBankNm4;
/** 가상계좌번호4 */
private String vrActno4;
/** 가상계좌은행명5 */
private String vtlacBankNm5;
/** 가상계좌번호5 */
private String vrActno5;
/** 가상계좌은행명6 */
private String vtlacBankNm6;
/** 가상계좌번호6 */
private String vrActno6;
/** 가상계좌은행명7 */
private String vtlacBankNm7;
/** 가상계좌번호7 */
private String vrActno7;
/** 가상계좌은행명8 */
private String vtlacBankNm8;
/** 가상계좌번호8 */
private String vrActno8;
/** 가상계좌은행명9 */
private String vtlacBankNm9;
/** 가상계좌번호9 */
private String vrActno9;
/** 가상계좌은행명10 */
private String vtlacBankNm10;
/** 가상계좌번호10 */
private String vrActno10;
/** 가상계좌은행명11 */
private String vtlacBankNm11;
/** 가상계좌번호11 */
private String vrActno11;
/** 가상계좌은행명12 */
private String vtlacBankNm12;
/** 가상계좌번호12 */
private String vrActno12;
/** 가상계좌은행명13 */
private String vtlacBankNm13;
/** 가상계좌번호13 */
private String vrActno13;
/** 가상계좌은행명14 */
private String vtlacBankNm14;
/** 가상계좌번호14 */
private String vrActno14;
/** 가상계좌은행명15 */
private String vtlacBankNm15;
/** 가상계좌번호15 */
private String vrActno15;
/** 가상계좌은행명16 */
private String vtlacBankNm16;
/** 가상계좌번호16 */
private String vrActno16;
/** 가상계좌은행명17 */
private String vtlacBankNm17;
/** 가상계좌번호17 */
private String vrActno17;
/** 가상계좌은행명18 */
private String vtlacBankNm18;
/** 가상계좌번호18 */
private String vrActno18;
/** 가상계좌은행명19 */
private String vtlacBankNm19;
/** 가상계좌번호19 */
private String vrActno19;
/** 가상계좌은행명20 */
private String vtlacBankNm20;
/** 가상계좌번호20 */
private String vrActno20;
/** 예비항목1 */
private String rsveItem1;
/** 예비항목2 */
private String rsveItem2;
/** 예비항목3 */
private String rsveItem3;
/** 예비항목4 */
private String rsveItem4;
/** 예비항목5 */
private String rsveItem5;
/** 현재상태명 */
private String nowSttNm;
}
}

@ -0,0 +1,160 @@
package cokr.xit.interfaces.lntris.special.b;
import cokr.xit.foundation.Assert;
import lombok.Getter;
/**
* @author mjkhan
*/
@Getter
public class LntrisBQuery {
/** 지방자치단체코드 */
private String sgbCd;
/** 부서코드 */
private String dptCd;
/** 납부자구분 */
private String pyrSeCd;
/** 납부자번호 */
private String pyrNo;
/** 회계연도 */
private String fyr;
/** 회계구분코드 */
private String actSeCd;
/** 대표세입과목코드 */
private String rprsTxmCd;
/** 부과번호 */
private String lvyNo;
/** 자동차등록번호 */
private String vhrno;
/** 단속일자 */
private String rgtnYmd;
/** 등록일자 */
private String regYmd;
/** 과태료과징금대장키, 주정차위반대장키, 전용차로위반대장키 */
private String acbKey;
/** .
* @param sgbCd
* @return LntrisBQuery
*/
public LntrisBQuery setSgbCd(String sgbCd) {
this.sgbCd = sgbCd;
return this;
}
/** .
* @param dptCd
* @return LntrisBQuery
*/
public LntrisBQuery setDptCd(String dptCd) {
this.dptCd = dptCd;
return this;
}
/** .
* @param pyrSeCd
* @return LntrisBQuery
*/
public LntrisBQuery setPyrSeCd(String pyrSeCd) {
this.pyrSeCd = pyrSeCd;
return this;
}
/** .
* @param pyrNo
* @return LntrisBQuery
*/
public LntrisBQuery setPyrNo(String pyrNo) {
this.pyrNo = pyrNo;
return this;
}
/** .
* @param fyr
* @return LntrisBQuery
*/
public LntrisBQuery setFyr(String fyr) {
this.fyr = fyr;
return this;
}
/** .
* @param actSeCd
* @return LntrisBQuery
*/
public LntrisBQuery setActSeCd(String actSeCd) {
this.actSeCd = actSeCd;
return this;
}
/** .
* @param rprsTxmCd
* @return LntrisBQuery
*/
public LntrisBQuery setRprsTxmCd(String rprsTxmCd) {
this.rprsTxmCd = rprsTxmCd;
return this;
}
/** .
* @param lvyNo
* @return LntrisBQuery
*/
public LntrisBQuery setLvyNo(String lvyNo) {
this.lvyNo = lvyNo;
return this;
}
/** .
* @param vhrno
* @return LntrisBQuery
*/
public LntrisBQuery setVhrno(String vhrno) {
this.vhrno = vhrno;
return this;
}
/** .
* @param regYmd
* @return LntrisBQuery
*/
public LntrisBQuery setRegYmd(String regYmd) {
this.regYmd = regYmd;
return this;
}
/** .
* @param rgtnYmd
* @return LntrisBQuery
*/
public LntrisBQuery setRgtnYmd(String rgtnYmd) {
this.rgtnYmd = rgtnYmd;
return this;
}
/**, , .
* @param acbKey , ,
* @return LntrisBQuery
*/
public LntrisBQuery setAcbKey(String acbKey) {
this.acbKey = acbKey;
return this;
}
/** .
* @return
*/
public boolean isLinkTarget() {
return Assert.isEmpty(sgbCd)
&& Assert.isEmpty(dptCd)
&& Assert.isEmpty(pyrSeCd)
&& Assert.isEmpty(pyrNo)
&& Assert.isEmpty(fyr)
&& Assert.isEmpty(actSeCd)
&& Assert.isEmpty(rprsTxmCd)
&& Assert.isEmpty(lvyNo)
&& Assert.isEmpty(vhrno)
&& Assert.isEmpty(regYmd)
&& Assert.isEmpty(rgtnYmd);
}
}

@ -0,0 +1,444 @@
package cokr.xit.interfaces.lntris.special.b.dao;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.interfaces.lntris.special.b.LntrisB01;
import cokr.xit.interfaces.lntris.special.b.LntrisB02;
import cokr.xit.interfaces.lntris.special.b.LntrisB03;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
/** B01 ~ B03
* @author mjkhan
*/
@Mapper("lntrisB01_03Mapper")
public interface LntrisB01_03Mapper extends AbstractMapper {
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB01> selectB01Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB01> selectB01s(LntrisBQuery params) {
List<LntrisB01> b01s = selectB01Reqs(params);
List<String> b01Ids = b01s.stream().map(LntrisB01::getB01Id).toList();
if (!b01Ids.isEmpty()) {
List<LntrisB01.B01RespDetail> resps = selectB01Resps(params().set("b01Ids", b01Ids));
Map<String, List<LntrisB01.B01RespDetail>> byB01Id = resps.stream().collect(Collectors.groupingBy(LntrisB01.B01RespDetail::getB01Id));
b01s.forEach(b01 -> {
List<LntrisB01.B01RespDetail> details = byB01Id.get(b01.getB01Id());
b01.getResponse().setResVo1(details);
});
}
return b01s;
}
/** .
* @return
*/
default List<LntrisB01> selectB01s() {
return selectB01Reqs(null);
}
/** .
* @param params
* <ul><li>b01 - </li>
* </ul>
* @return
*/
int insertB01Req(Map<String, Object> params);
/** .
* @param b01
* @return
*/
default int insertB01Req(LntrisB01 b01) {
return insertB01Req(params().set("b01", b01));
}
/** .
* @param params
* <ul><li>b01s - </li>
* </ul>
* @return
*/
int updateB01ReqStatus(Map<String, Object> params);
/** .
* @param b01s
* @return
*/
default int updateB01Reqs(List<LntrisB01> b01s) {
return updateB01ReqStatus(params().set("b01s", b01s));
}
/** .
* @param params
* @return
*/
List<LntrisB01.B01RespDetail> selectB01Resps(Map<String, Object> params);
/** .
* <ul><li>b01 - </li>
* </ul>
* @return
*/
int insertB01Resps(Map<String, Object> params);
/** .
* @param b01
* @return
*/
default int insertB01Resps(LntrisB01 b01) {
String b01Id = b01.getB01Id();
List<LntrisB01.B01RespDetail> resps = b01.getResponse().getResVo1();
if (isEmpty(b01Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB01.B01RespDetail resp = resps.get(i);
resp.setB01Id(b01Id);
resp.setB01Sn(Integer.toString(i + 1));
}
return insertB01Resps(params().set("resps", resps));
}
/** / .
* @param b01s
* @return
*/
default int insertB01s(List<LntrisB01> b01s) {
int affected = 0;
for (LntrisB01 b01: b01s) {
affected += insertB01Req(b01)
+ insertB01Resps(b01);
}
return affected;
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB02> selectB02Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB02> selectB02s(LntrisBQuery params) {
List<LntrisB02> b02s = selectB02Reqs(params);
List<String> b02Ids = b02s.stream().map(LntrisB02::getB02Id).toList();
if (!b02Ids.isEmpty()) {
List<LntrisB02.B02RespDetail> resps = selectB02Resps(params().set("b02Ids", b02Ids));
Map<String, List<LntrisB02.B02RespDetail>> byB02Id = resps.stream().collect(Collectors.groupingBy(LntrisB02.B02RespDetail::getB02Id));
b02s.forEach(b02 -> {
List<LntrisB02.B02RespDetail> details = byB02Id.get(b02.getB02Id());
b02.getResponse().setResVo1(details);
});
}
return b02s;
}
/** .
* @return
*/
default List<LntrisB02> selectB02s() {
return selectB02Reqs(null);
}
/** .
* @param params
* <ul><li>b02 - </li>
* </ul>
* @return
*/
int insertB02Req(Map<String, Object> params);
/** .
* @param b02
* @return
*/
default int insertB02Req(LntrisB02 b02) {
return insertB02Req(params().set("b02", b02));
}
/** .
* @param params
* <ul><li>b02s - </li>
* </ul>
* @return
*/
int updateB02ReqStatus(Map<String, Object> params);
/** .
* @param b02s
* @return
*/
default int updateB02Reqs(List<LntrisB02> b02s) {
return updateB02ReqStatus(params().set("b02s", b02s));
}
/** .
* @param params
* @return
*/
List<LntrisB02.B02RespDetail> selectB02Resps(Map<String, Object> params);
/** .
* <ul><li>b02 - </li>
* </ul>
* @return
*/
int insertB02Resps(Map<String, Object> params);
/** .
* @param b02
* @return
*/
default int insertB02Resps(LntrisB02 b02) {
String b02Id = b02.getB02Id();
List<LntrisB02.B02RespDetail> resps = b02.getResponse().getResVo1();
if (isEmpty(b02Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB02.B02RespDetail resp = resps.get(i);
resp.setB02Id(b02Id);
resp.setB02Sn(Integer.toString(i + 1));
}
return insertB02Resps(params().set("resps", resps));
}
/** / .
* @param b02s
* @return
*/
default int insertB02s(List<LntrisB02> b02s) {
int affected = 0;
for (LntrisB02 b02: b02s) {
affected += insertB02Req(b02)
+ insertB02Resps(b02);
}
return affected;
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB03> selectB03Reqs(LntrisBQuery params);
/** .
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB03> selectB03s(LntrisBQuery params) {
List<LntrisB03> b03s = selectB03Reqs(params);
List<String> b03Ids = b03s.stream().map(LntrisB03::getB03Id).toList();
if (!b03Ids.isEmpty()) {
List<LntrisB03.B03RespDetail> resps = selectB03Resps(params().set("b03Ids", b03Ids));
Map<String, List<LntrisB03.B03RespDetail>> byB03Id = resps.stream().collect(Collectors.groupingBy(LntrisB03.B03RespDetail::getB03Id));
b03s.forEach(b03 -> {
List<LntrisB03.B03RespDetail> details = byB03Id.get(b03.getB03Id());
b03.getResponse().setResVo1(details);
});
}
return b03s;
}
/** .
* @return
*/
default List<LntrisB03> selectB03s() {
return selectB03Reqs(null);
}
/** .
* @param params
* <ul><li>b03 - </li>
* </ul>
* @return
*/
int insertB03Req(Map<String, Object> params);
/** .
* @param b03
* @return
*/
default int insertB03Req(LntrisB03 b03) {
return insertB03Req(params().set("b03", b03));
}
/** .
* @param params
* <ul><li>b03s - </li>
* </ul>
* @return
*/
int updateB03ReqStatus(Map<String, Object> params);
/** .
* @param b03s
* @return
*/
default int updateB03Reqs(List<LntrisB03> b03s) {
return updateB03ReqStatus(params().set("b03s", b03s));
}
/** .
* @param params
* @return
*/
List<LntrisB03.B03RespDetail> selectB03Resps(Map<String, Object> params);
/** .
* <ul><li>b03 - </li>
* </ul>
* @return
*/
int insertB03Resps(Map<String, Object> params);
/** .
* @param b03
* @return
*/
default int insertB03Resps(LntrisB03 b03) {
String b03Id = b03.getB03Id();
List<LntrisB03.B03RespDetail> resps = b03.getResponse().getResVo1();
if (isEmpty(b03Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB03.B03RespDetail resp = resps.get(i);
resp.setB03Id(b03Id);
resp.setB03Sn(Integer.toString(i + 1));
}
return insertB03Resps(params().set("resps", resps));
}
/** / .
* @param b03s
* @return
*/
default int insertB03s(List<LntrisB03> b03s) {
int affected = 0;
for (LntrisB03 b03: b03s) {
affected += insertB03Req(b03)
+ insertB03Resps(b03);
}
return affected;
}
}

@ -0,0 +1,399 @@
package cokr.xit.interfaces.lntris.special.b.dao;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.interfaces.lntris.special.b.LntrisB04;
import cokr.xit.interfaces.lntris.special.b.LntrisB05;
import cokr.xit.interfaces.lntris.special.b.LntrisB06;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
/** B04 ~ B06
* @author mjkhan
*/
@Mapper("lntrisB04_06Mapper")
public interface LntrisB04_06Mapper extends AbstractMapper {
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB04> selectB04Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB04> selectB04s(LntrisBQuery params) {
List<LntrisB04> b04s = selectB04Reqs(params);
List<String> b04Ids = b04s.stream().map(LntrisB04::getB04Id).toList();
if (!b04Ids.isEmpty()) {
List<LntrisB04.B04RespDetail> resps = selectB04Resps(params().set("b04Ids", b04Ids));
Map<String, List<LntrisB04.B04RespDetail>> byB04Id = resps.stream().collect(Collectors.groupingBy(LntrisB04.B04RespDetail::getB04Id));
b04s.forEach(b04 -> {
List<LntrisB04.B04RespDetail> details = byB04Id.get(b04.getB04Id());
b04.getResponse().setResVo1(details);
});
}
return b04s;
}
/** .
* @return
*/
default List<LntrisB04> selectB04s() {
return selectB04Reqs(null);
}
/** .
* @param params
* <ul><li>b04 - </li>
* </ul>
* @return
*/
int insertB04Req(Map<String, Object> params);
/** .
* @param b04
* @return
*/
default int insertB04Req(LntrisB04 b04) {
return insertB04Req(params().set("b04", b04));
}
/** .
* @param params
* <ul><li>b04s - </li>
* </ul>
* @return
*/
int updateB04ReqStatus(Map<String, Object> params);
/** .
* @param b04s
* @return
*/
default int updateB04Reqs(List<LntrisB04> b04s) {
return updateB04ReqStatus(params().set("b04s", b04s));
}
/** .
* @param params
* @return
*/
List<LntrisB04.B04RespDetail> selectB04Resps(Map<String, Object> params);
/** .
* <ul><li>b04 - </li>
* </ul>
* @return
*/
int insertB04Resps(Map<String, Object> params);
/** .
* @param b04
* @return
*/
default int insertB04Resps(LntrisB04 b04) {
String b04Id = b04.getB04Id();
List<LntrisB04.B04RespDetail> resps = b04.getResponse().getResVo1();
if (isEmpty(b04Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB04.B04RespDetail resp = resps.get(i);
resp.setB04Id(b04Id);
resp.setB04Sn(Integer.toString(i + 1));
}
return insertB04Resps(params().set("resps", resps));
}
/** / .
* @param b04s
* @return
*/
default int insertB04s(List<LntrisB04> b04s) {
int affected = 0;
for (LntrisB04 b04: b04s) {
affected += insertB04Req(b04)
+ insertB04Resps(b04);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB05> selectB05Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
default List<LntrisB05> selectB05s(LntrisBQuery params) {
List<LntrisB05> b05s = selectB05Reqs(params);
List<String> b05Ids = b05s.stream().map(LntrisB05::getB05Id).toList();
if (!b05Ids.isEmpty()) {
List<LntrisB05.B05RespDetail> resps = selectB05Resps(params().set("b05Ids", b05Ids));
Map<String, List<LntrisB05.B05RespDetail>> byB05Id = resps.stream().collect(Collectors.groupingBy(LntrisB05.B05RespDetail::getB05Id));
b05s.forEach(b05 -> {
List<LntrisB05.B05RespDetail> details = byB05Id.get(b05.getB05Id());
b05.getResponse().setResVo1(details);
});
}
return b05s;
}
/** .
* @return
*/
default List<LntrisB05> selectB05s() {
return selectB05Reqs(null);
}
/** .
* @param params
* <ul><li>b05 - </li>
* </ul>
* @return
*/
int insertB05Req(Map<String, Object> params);
/** .
* @param b05
* @return
*/
default int insertB05Req(LntrisB05 b05) {
return insertB05Req(params().set("b05", b05));
}
/** .
* @param params
* <ul><li>b05s - </li>
* </ul>
* @return
*/
int updateB05ReqStatus(Map<String, Object> params);
/** .
* @param b05s
* @return
*/
default int updateB05Reqs(List<LntrisB05> b05s) {
return updateB05ReqStatus(params().set("b05s", b05s));
}
/** .
* @param params
* @return
*/
List<LntrisB05.B05RespDetail> selectB05Resps(Map<String, Object> params);
/** .
* <ul><li>b05 - </li>
* </ul>
* @return
*/
int insertB05Resps(Map<String, Object> params);
/** .
* @param b05
* @return
*/
default int insertB05Resps(LntrisB05 b05) {
String b05Id = b05.getB05Id();
List<LntrisB05.B05RespDetail> resps = b05.getResponse().getResVo1();
if (isEmpty(b05Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB05.B05RespDetail resp = resps.get(i);
resp.setB05Id(b05Id);
resp.setB05Sn(Integer.toString(i + 1));
}
return insertB05Resps(params().set("resps", resps));
}
/** / .
* @param b05s
* @return
*/
default int insertB05s(List<LntrisB05> b05s) {
int affected = 0;
for (LntrisB05 b05: b05s) {
affected += insertB05Req(b05)
+ insertB05Resps(b05);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB06> selectB06Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
default List<LntrisB06> selectB06s(LntrisBQuery params) {
List<LntrisB06> b06s = selectB06Reqs(params);
List<String> b06Ids = b06s.stream().map(LntrisB06::getB06Id).toList();
if (!b06Ids.isEmpty()) {
List<LntrisB06.B06RespDetail> resps = selectB06Resps(params().set("b06Ids", b06Ids));
Map<String, List<LntrisB06.B06RespDetail>> byB06Id = resps.stream().collect(Collectors.groupingBy(LntrisB06.B06RespDetail::getB06Id));
b06s.forEach(b06 -> {
List<LntrisB06.B06RespDetail> details = byB06Id.get(b06.getB06Id());
b06.getResponse().setResVo1(details);
});
}
return b06s;
}
/** .
* @return
*/
default List<LntrisB06> selectB06s() {
return selectB06Reqs(null);
}
/** .
* @param params
* <ul><li>b06 - </li>
* </ul>
* @return
*/
int insertB06Req(Map<String, Object> params);
/** .
* @param b06
* @return
*/
default int insertB06Req(LntrisB06 b06) {
return insertB06Req(params().set("b06", b06));
}
/** .
* @param params
* <ul><li>b06s - </li>
* </ul>
* @return
*/
int updateB06ReqStatus(Map<String, Object> params);
/** .
* @param b06s
* @return
*/
default int updateB06Reqs(List<LntrisB06> b06s) {
return updateB06ReqStatus(params().set("b06s", b06s));
}
/** .
* @param params
* @return
*/
List<LntrisB06.B06RespDetail> selectB06Resps(Map<String, Object> params);
/** .
* <ul><li>b06 - </li>
* </ul>
* @return
*/
int insertB06Resps(Map<String, Object> params);
/** .
* @param b06
* @return
*/
default int insertB06Resps(LntrisB06 b06) {
String b06Id = b06.getB06Id();
List<LntrisB06.B06RespDetail> resps = b06.getResponse().getResVo1();
if (isEmpty(b06Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB06.B06RespDetail resp = resps.get(i);
resp.setB06Id(b06Id);
resp.setB06Sn(Integer.toString(i + 1));
}
return insertB06Resps(params().set("resps", resps));
}
/** / .
* @param b06s
* @return
*/
default int insertB06s(List<LntrisB06> b06s) {
int affected = 0;
for (LntrisB06 b06: b06s) {
affected += insertB06Req(b06)
+ insertB06Resps(b06);
}
return affected;
}
}

@ -0,0 +1,420 @@
package cokr.xit.interfaces.lntris.special.b.dao;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.interfaces.lntris.special.b.LntrisB07;
import cokr.xit.interfaces.lntris.special.b.LntrisB08;
import cokr.xit.interfaces.lntris.special.b.LntrisB09;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
/** B07 ~ B09
* @author mjkhan
*/
@Mapper("lntrisB07_09Mapper")
public interface LntrisB07_09Mapper extends AbstractMapper {
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB07> selectB07Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB07> selectB07s(LntrisBQuery params) {
List<LntrisB07> b07s = selectB07Reqs(params);
List<String> b07Ids = b07s.stream().map(LntrisB07::getB07Id).toList();
if (!b07Ids.isEmpty()) {
List<LntrisB07.B07RespDetail> resps = selectB07Resps(params().set("b07Ids", b07Ids));
Map<String, List<LntrisB07.B07RespDetail>> byB07Id = resps.stream().collect(Collectors.groupingBy(LntrisB07.B07RespDetail::getB07Id));
b07s.forEach(b07 -> {
List<LntrisB07.B07RespDetail> details = byB07Id.get(b07.getB07Id());
b07.getResponse().setResVo1(details);
});
}
return b07s;
}
/** .
* @return
*/
default List<LntrisB07> selectB07s() {
return selectB07Reqs(null);
}
/** .
* @param params
* <ul><li>b07 - </li>
* </ul>
* @return
*/
int insertB07Req(Map<String, Object> params);
/** .
* @param b07
* @return
*/
default int insertB07Req(LntrisB07 b07) {
return insertB07Req(params().set("b07", b07));
}
/** .
* @param params
* <ul><li>b07s - </li>
* </ul>
* @return
*/
int updateB07ReqStatus(Map<String, Object> params);
/** .
* @param b07s
* @return
*/
default int updateB07Reqs(List<LntrisB07> b07s) {
return updateB07ReqStatus(params().set("b07s", b07s));
}
/** .
* @param params
* @return
*/
List<LntrisB07.B07RespDetail> selectB07Resps(Map<String, Object> params);
/** .
* <ul><li>b07 - </li>
* </ul>
* @return
*/
int insertB07Resps(Map<String, Object> params);
/** .
* @param b07
* @return
*/
default int insertB07Resps(LntrisB07 b07) {
String b07Id = b07.getB07Id();
List<LntrisB07.B07RespDetail> resps = b07.getResponse().getResVo1();
if (isEmpty(b07Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB07.B07RespDetail resp = resps.get(i);
resp.setB07Id(b07Id);
resp.setB07Sn(Integer.toString(i + 1));
}
return insertB07Resps(params().set("resps", resps));
}
/** / .
* @param b07s
* @return
*/
default int insertB07s(List<LntrisB07> b07s) {
int affected = 0;
for (LntrisB07 b07: b07s) {
affected += insertB07Req(b07)
+ insertB07Resps(b07);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB08> selectB08Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
default List<LntrisB08> selectB08s(LntrisBQuery params) {
List<LntrisB08> b08s = selectB08Reqs(params);
List<String> b08Ids = b08s.stream().map(LntrisB08::getB08Id).toList();
if (!b08Ids.isEmpty()) {
List<LntrisB08.B08RespDetail> resps = selectB08Resps(params().set("b08Ids", b08Ids));
Map<String, List<LntrisB08.B08RespDetail>> byB08Id = resps.stream().collect(Collectors.groupingBy(LntrisB08.B08RespDetail::getB08Id));
b08s.forEach(b08 -> {
List<LntrisB08.B08RespDetail> details = byB08Id.get(b08.getB08Id());
b08.getResponse().setResVo1(details);
});
}
return b08s;
}
/** .
* @return
*/
default List<LntrisB08> selectB08s() {
return selectB08Reqs(null);
}
/** .
* @param params
* <ul><li>b08 - </li>
* </ul>
* @return
*/
int insertB08Req(Map<String, Object> params);
/** .
* @param b08
* @return
*/
default int insertB08Req(LntrisB08 b08) {
return insertB08Req(params().set("b08", b08));
}
/** .
* @param params
* <ul><li>b08s - </li>
* </ul>
* @return
*/
int updateB08ReqStatus(Map<String, Object> params);
/** .
* @param b08s
* @return
*/
default int updateB08Reqs(List<LntrisB08> b08s) {
return updateB08ReqStatus(params().set("b08s", b08s));
}
/** .
* @param params
* @return
*/
List<LntrisB08.B08RespDetail> selectB08Resps(Map<String, Object> params);
/** .
* <ul><li>b08 - </li>
* </ul>
* @return
*/
int insertB08Resps(Map<String, Object> params);
/** .
* @param b08
* @return
*/
default int insertB08Resps(LntrisB08 b08) {
String b08Id = b08.getB08Id();
List<LntrisB08.B08RespDetail> resps = b08.getResponse().getResVo1();
if (isEmpty(b08Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB08.B08RespDetail resp = resps.get(i);
resp.setB08Id(b08Id);
resp.setB08Sn(Integer.toString(i + 1));
}
return insertB08Resps(params().set("resps", resps));
}
/** / .
* @param b08s
* @return
*/
default int insertB08s(List<LntrisB08> b08s) {
int affected = 0;
for (LntrisB08 b08: b08s) {
affected += insertB08Req(b08)
+ insertB08Resps(b08);
}
return affected;
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB09> selectB09Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB09> selectB09s(LntrisBQuery params) {
List<LntrisB09> b09s = selectB09Reqs(params);
List<String> b09Ids = b09s.stream().map(LntrisB09::getB09Id).toList();
if (!b09Ids.isEmpty()) {
List<LntrisB09.B09RespDetail> resps = selectB09Resps(params().set("b09Ids", b09Ids));
Map<String, List<LntrisB09.B09RespDetail>> byB09Id = resps.stream().collect(Collectors.groupingBy(LntrisB09.B09RespDetail::getB09Id));
b09s.forEach(b09 -> {
List<LntrisB09.B09RespDetail> details = byB09Id.get(b09.getB09Id());
b09.getResponse().setResVo1(details);
});
}
return b09s;
}
/** .
* @return
*/
default List<LntrisB09> selectB09s() {
return selectB09Reqs(null);
}
/** .
* @param params
* <ul><li>b09 - </li>
* </ul>
* @return
*/
int insertB09Req(Map<String, Object> params);
/** .
* @param b09
* @return
*/
default int insertB09Req(LntrisB09 b09) {
return insertB09Req(params().set("b09", b09));
}
/** .
* @param params
* <ul><li>b09s - </li>
* </ul>
* @return
*/
int updateB09ReqStatus(Map<String, Object> params);
/** .
* @param b09s
* @return
*/
default int updateB09Reqs(List<LntrisB09> b09s) {
return updateB09ReqStatus(params().set("b09s", b09s));
}
/** .
* @param params
* @return
*/
List<LntrisB09.B09RespDetail> selectB09Resps(Map<String, Object> params);
/** .
* <ul><li>b09 - </li>
* </ul>
* @return
*/
int insertB09Resps(Map<String, Object> params);
/** .
* @param b09
* @return
*/
default int insertB09Resps(LntrisB09 b09) {
String b09Id = b09.getB09Id();
List<LntrisB09.B09RespDetail> resps = b09.getResponse().getResVo1();
if (isEmpty(b09Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB09.B09RespDetail resp = resps.get(i);
resp.setB09Id(b09Id);
resp.setB09Sn(Integer.toString(i + 1));
}
return insertB09Resps(params().set("resps", resps));
}
/** / .
* @param b09s
* @return
*/
default int insertB09s(List<LntrisB09> b09s) {
int affected = 0;
for (LntrisB09 b09: b09s) {
affected += insertB09Req(b09)
+ insertB09Resps(b09);
}
return affected;
}
}

@ -0,0 +1,405 @@
package cokr.xit.interfaces.lntris.special.b.dao;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.interfaces.lntris.special.b.LntrisB10;
import cokr.xit.interfaces.lntris.special.b.LntrisB11;
import cokr.xit.interfaces.lntris.special.b.LntrisB12;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
/** B10 ~ B12
* @author mjkhan
*/
@Mapper("lntrisB10_12Mapper")
public interface LntrisB10_12Mapper extends AbstractMapper {
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB10> selectB10Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
default List<LntrisB10> selectB10s(LntrisBQuery params) {
List<LntrisB10> b10s = selectB10Reqs(params);
List<String> b10Ids = b10s.stream().map(LntrisB10::getB10Id).toList();
if (!b10Ids.isEmpty()) {
List<LntrisB10.B10RespDetail> resps = selectB10Resps(params().set("b10Ids", b10Ids));
Map<String, List<LntrisB10.B10RespDetail>> byB10Id = resps.stream().collect(Collectors.groupingBy(LntrisB10.B10RespDetail::getB10Id));
b10s.forEach(b10 -> {
List<LntrisB10.B10RespDetail> details = byB10Id.get(b10.getB10Id());
b10.getResponse().setResVo1(details);
});
}
return b10s;
}
/** .
* @return
*/
default List<LntrisB10> selectB10s() {
return selectB10Reqs(null);
}
/** .
* @param params
* <ul><li>b10 - </li>
* </ul>
* @return
*/
int insertB10Req(Map<String, Object> params);
/** .
* @param b10
* @return
*/
default int insertB10Req(LntrisB10 b10) {
return insertB10Req(params().set("b10", b10));
}
/** .
* @param params
* <ul><li>b10s - </li>
* </ul>
* @return
*/
int updateB10ReqStatus(Map<String, Object> params);
/** .
* @param b10s
* @return
*/
default int updateB10Reqs(List<LntrisB10> b10s) {
return updateB10ReqStatus(params().set("b10s", b10s));
}
/** .
* @param params
* @return
*/
List<LntrisB10.B10RespDetail> selectB10Resps(Map<String, Object> params);
/** .
* <ul><li>b10 - </li>
* </ul>
* @return
*/
int insertB10Resps(Map<String, Object> params);
/** .
* @param b10
* @return
*/
default int insertB10Resps(LntrisB10 b10) {
String b10Id = b10.getB10Id();
List<LntrisB10.B10RespDetail> resps = b10.getResponse().getResVo1();
if (isEmpty(b10Id) || resps.isEmpty()) return 0;
String linkRstCd = b10.getResponse().getLinkRstCd();
String linkRstMsg = b10.getResponse().getLinkRstMsg();
for (int i = 0; i < resps.size(); ++i) {
LntrisB10.B10RespDetail resp = resps.get(i);
resp.setB10Id(b10Id);
resp.setB10Sn(Integer.toString(i + 1));
}
return insertB10Resps(params()
.set("resps", resps)
.set("linkRstCd", linkRstCd)
.set("linkRstMsg", linkRstMsg)
);
}
/** / .
* @param b10s
* @return
*/
default int insertB10s(List<LntrisB10> b10s) {
int affected = 0;
for (LntrisB10 b10: b10s) {
affected += insertB10Req(b10)
+ insertB10Resps(b10);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrNo - </li>
* <li>regYmd - </li>
* <li>acbKey - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB11> selectB11Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrNo - </li>
* <li>regYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
default List<LntrisB11> selectB11s(LntrisBQuery params) {
List<LntrisB11> b11s = selectB11Reqs(params);
List<String> b11Ids = b11s.stream().map(LntrisB11::getB11Id).toList();
if (!b11Ids.isEmpty()) {
List<LntrisB11.B11RespDetail> resps = selectB11Resps(params().set("b11Ids", b11Ids));
Map<String, List<LntrisB11.B11RespDetail>> byB11Id = resps.stream().collect(Collectors.groupingBy(LntrisB11.B11RespDetail::getB11Id));
b11s.forEach(b11 -> {
List<LntrisB11.B11RespDetail> details = byB11Id.get(b11.getB11Id());
b11.getResponse().setResVo1(details);
});
}
return b11s;
}
/** .
* @return
*/
default List<LntrisB11> selectB11s() {
return selectB11s(null);
}
/** .
* @param params
* <ul><li>b11 - </li>
* </ul>
* @return
*/
int insertB11Req(Map<String, Object> params);
/** .
* @param b11
* @return
*/
default int insertB11Req(LntrisB11 b11) {
return insertB11Req(params().set("b11", b11));
}
/** .
* @param params
* <ul><li>b11s - </li>
* </ul>
* @return
*/
int updateB11ReqStatus(Map<String, Object> params);
/** .
* @param b11s
* @return
*/
default int updateB11Reqs(List<LntrisB11> b11s) {
return updateB11ReqStatus(params().set("b11s", b11s));
}
/** .
* @param params
* @return
*/
List<LntrisB11.B11RespDetail> selectB11Resps(Map<String, Object> params);
/** .
* <ul><li>b11 - </li>
* </ul>
* @return
*/
int insertB11Resps(Map<String, Object> params);
/** .
* @param b11
* @return
*/
default int insertB11Resps(LntrisB11 b11) {
String b11Id = b11.getB11Id();
List<LntrisB11.B11RespDetail> resps = b11.getResponse().getResVo1();
if (isEmpty(b11Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB11.B11RespDetail resp = resps.get(i);
resp.setB11Id(b11Id);
resp.setB11Sn(Integer.toString(i + 1));
}
return insertB11Resps(params().set("resps", resps));
}
/** / .
* @param b11s
* @return
*/
default int insertB11s(List<LntrisB11> b11s) {
int affected = 0;
for (LntrisB11 b11: b11s) {
affected += insertB11Req(b11)
+ insertB11Resps(b11);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB12> selectB12Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
default List<LntrisB12> selectB12s(LntrisBQuery params) {
List<LntrisB12> b12s = selectB12Reqs(params);
List<String> b12Ids = b12s.stream().map(LntrisB12::getB12Id).toList();
if (!b12Ids.isEmpty()) {
List<LntrisB12.B12RespDetail> resps = selectB12Resps(params().set("b12Ids", b12Ids));
Map<String, List<LntrisB12.B12RespDetail>> byB12Id = resps.stream().collect(Collectors.groupingBy(LntrisB12.B12RespDetail::getB12Id));
b12s.forEach(b12 -> {
List<LntrisB12.B12RespDetail> details = byB12Id.get(b12.getB12Id());
b12.getResponse().setResVo1(details);
});
}
return b12s;
}
/** .
* @return
*/
default List<LntrisB12> selectB12s() {
return selectB12Reqs(null);
}
/** .
* @param params
* <ul><li>b12 - </li>
* </ul>
* @return
*/
int insertB12Req(Map<String, Object> params);
/** .
* @param b12
* @return
*/
default int insertB12Req(LntrisB12 b12) {
return insertB12Req(params().set("b12", b12));
}
/** .
* @param params
* <ul><li>b12s - </li>
* </ul>
* @return
*/
int updateB12ReqStatus(Map<String, Object> params);
/** .
* @param b12s
* @return
*/
default int updateB12Reqs(List<LntrisB12> b12s) {
return updateB12ReqStatus(params().set("b12s", b12s));
}
/** .
* @param params
* @return
*/
List<LntrisB12.B12RespDetail> selectB12Resps(Map<String, Object> params);
/** .
* <ul><li>b12 - </li>
* </ul>
* @return
*/
int insertB12Resps(Map<String, Object> params);
/** .
* @param b12
* @return
*/
default int insertB12Resps(LntrisB12 b12) {
String b12Id = b12.getB12Id();
List<LntrisB12.B12RespDetail> resps = b12.getResponse().getResVo1();
if (isEmpty(b12Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB12.B12RespDetail resp = resps.get(i);
resp.setB12Id(b12Id);
resp.setB12Sn(Integer.toString(i + 1));
}
return insertB12Resps(params().set("resps", resps));
}
/** / .
* @param b12s
* @return
*/
default int insertB12s(List<LntrisB12> b12s) {
int affected = 0;
for (LntrisB12 b12: b12s) {
affected += insertB12Req(b12)
+ insertB12Resps(b12);
}
return affected;
}
}

@ -0,0 +1,494 @@
package cokr.xit.interfaces.lntris.special.b.dao;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.interfaces.lntris.special.b.LntrisB13;
import cokr.xit.interfaces.lntris.special.b.LntrisB14;
import cokr.xit.interfaces.lntris.special.b.LntrisB15;
import cokr.xit.interfaces.lntris.special.b.LntrisB16;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
/** B10 ~ B12
* @author mjkhan
*/
@Mapper("lntrisB13_16Mapper")
public interface LntrisB13_16Mapper extends AbstractMapper {
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB13> selectB13Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
default List<LntrisB13> selectB13s(LntrisBQuery params) {
List<LntrisB13> b13s = selectB13Reqs(params);
List<String> b13Ids = b13s.stream().map(LntrisB13::getB13Id).toList();
if (!b13Ids.isEmpty()) {
List<LntrisB13.B13RespDetail> resps = selectB13Resps(params().set("b13Ids", b13Ids));
Map<String, List<LntrisB13.B13RespDetail>> byB13Id = resps.stream().collect(Collectors.groupingBy(LntrisB13.B13RespDetail::getB13Id));
b13s.forEach(b13 -> {
List<LntrisB13.B13RespDetail> details = byB13Id.get(b13.getB13Id());
b13.getResponse().setResVo1(details);
});
}
return b13s;
}
/** .
* @return
*/
default List<LntrisB13> selectB13s() {
return selectB13Reqs(null);
}
/** .
* @param params
* <ul><li>b13 - </li>
* </ul>
* @return
*/
int insertB13Req(Map<String, Object> params);
/** .
* @param b13
* @return
*/
default int insertB13Req(LntrisB13 b13) {
return insertB13Req(params().set("b13", b13));
}
/** .
* @param params
* <ul><li>b13s - </li>
* </ul>
* @return
*/
int updateB13ReqStatus(Map<String, Object> params);
/** .
* @param b13s
* @return
*/
default int updateB13Reqs(List<LntrisB13> b13s) {
return updateB13ReqStatus(params().set("b13s", b13s));
}
/** .
* @param params
* @return
*/
List<LntrisB13.B13RespDetail> selectB13Resps(Map<String, Object> params);
/** .
* <ul><li>b13 - </li>
* </ul>
* @return
*/
int insertB13Resps(Map<String, Object> params);
/** .
* @param b13
* @return
*/
default int insertB13Resps(LntrisB13 b13) {
String b13Id = b13.getB13Id();
List<LntrisB13.B13RespDetail> resps = b13.getResponse().getResVo1();
if (isEmpty(b13Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB13.B13RespDetail resp = resps.get(i);
resp.setB13Id(b13Id);
resp.setB13Sn(Integer.toString(i + 1));
}
return insertB13Resps(params().set("resps", resps));
}
/** / .
* @param b13s
* @return
*/
default int insertB13s(List<LntrisB13> b13s) {
int affected = 0;
for (LntrisB13 b13: b13s) {
affected += insertB13Req(b13)
+ insertB13Resps(b13);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB14> selectB14Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
default List<LntrisB14> selectB14s(LntrisBQuery params) {
List<LntrisB14> b14s = selectB14Reqs(params);
List<String> b14Ids = b14s.stream().map(LntrisB14::getB14Id).toList();
if (!b14Ids.isEmpty()) {
List<LntrisB14.B14RespDetail> resps = selectB14Resps(params().set("b14Ids", b14Ids));
Map<String, List<LntrisB14.B14RespDetail>> byB14Id = resps.stream().collect(Collectors.groupingBy(LntrisB14.B14RespDetail::getB14Id));
b14s.forEach(b14 -> {
List<LntrisB14.B14RespDetail> details = byB14Id.get(b14.getB14Id());
b14.getResponse().setResVo1(details.get(0));
});
}
return b14s;
}
/** .
* @return
*/
default List<LntrisB14> selectB14s() {
return selectB14Reqs(null);
}
/** .
* @param params
* <ul><li>b14 - </li>
* </ul>
* @return
*/
int insertB14Req(Map<String, Object> params);
/** .
* @param b14
* @return
*/
default int insertB14Req(LntrisB14 b14) {
return insertB14Req(params().set("b14", b14));
}
/** .
* @param params
* <ul><li>b14s - </li>
* </ul>
* @return
*/
int updateB14ReqStatus(Map<String, Object> params);
/** .
* @param b14s
* @return
*/
default int updateB14Reqs(List<LntrisB14> b14s) {
return updateB14ReqStatus(params().set("b14s", b14s));
}
/** .
* @param params
* @return
*/
List<LntrisB14.B14RespDetail> selectB14Resps(Map<String, Object> params);
/** .
* <ul><li>b14 - </li>
* </ul>
* @return
*/
int insertB14Resps(Map<String, Object> params);
/** .
* @param b14
* @return
*/
default int insertB14Resps(LntrisB14 b14) {
String b14Id = b14.getB14Id();
LntrisB14.B14RespDetail resp = b14.getResponse().getResVo1();
if (isEmpty(b14Id)) return 0;
resp.setB14Id(b14Id);
resp.setB14Sn("1");
return insertB14Resps(params().set("resp", resp));
}
/** / .
* @param b14s
* @return
*/
default int insertB14s(List<LntrisB14> b14s) {
int affected = 0;
for (LntrisB14 b14: b14s) {
affected += insertB14Req(b14)
+ insertB14Resps(b14);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB15> selectB15Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
default List<LntrisB15> selectB15s(LntrisBQuery params) {
List<LntrisB15> b15s = selectB15Reqs(params);
List<String> b15Ids = b15s.stream().map(LntrisB15::getB15Id).toList();
if (!b15Ids.isEmpty()) {
List<LntrisB15.B15RespDetail> resps = selectB15Resps(params().set("b15Ids", b15Ids));
Map<String, List<LntrisB15.B15RespDetail>> byB15Id = resps.stream().collect(Collectors.groupingBy(LntrisB15.B15RespDetail::getB15Id));
b15s.forEach(b15 -> {
List<LntrisB15.B15RespDetail> details = byB15Id.get(b15.getB15Id());
b15.getResponse().setResVo1(details);
});
}
return b15s;
}
/** .
* @return
*/
default List<LntrisB15> selectB15s() {
return selectB15Reqs(null);
}
/** .
* @param params
* <ul><li>b15 - </li>
* </ul>
* @return
*/
int insertB15Req(Map<String, Object> params);
/** .
* @param b15
* @return
*/
default int insertB15Req(LntrisB15 b15) {
return insertB15Req(params().set("b15", b15));
}
/** .
* @param params
* <ul><li>b15s - </li>
* </ul>
* @return
*/
int updateB15ReqStatus(Map<String, Object> params);
/** .
* @param b15s
* @return
*/
default int updateB15Reqs(List<LntrisB15> b15s) {
return updateB15ReqStatus(params().set("b15s", b15s));
}
/** .
* @param params
* @return
*/
List<LntrisB15.B15RespDetail> selectB15Resps(Map<String, Object> params);
/** .
* <ul><li>b15 - </li>
* </ul>
* @return
*/
int insertB15Resps(Map<String, Object> params);
/** .
* @param b15
* @return
*/
default int insertB15Resps(LntrisB15 b15) {
String b15Id = b15.getB15Id();
List<LntrisB15.B15RespDetail> resps = b15.getResponse().getResVo1();
if (isEmpty(b15Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB15.B15RespDetail resp = resps.get(i);
resp.setB15Id(b15Id);
resp.setB15Sn(Integer.toString(i + 1));
}
return insertB15Resps(params().set("resps", resps));
}
/** / .
* @param b15s
* @return
*/
default int insertB15s(List<LntrisB15> b15s) {
int affected = 0;
for (LntrisB15 b15: b15s) {
affected += insertB15Req(b15)
+ insertB15Resps(b15);
}
return affected;
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* <li> .</li>
* </ul>
* @return
*/
List<LntrisB16> selectB16Reqs(LntrisBQuery params);
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
default List<LntrisB16> selectB16s(LntrisBQuery params) {
List<LntrisB16> b16s = selectB16Reqs(params);
List<String> b16Ids = b16s.stream().map(LntrisB16::getB16Id).toList();
if (!b16Ids.isEmpty()) {
List<LntrisB16.B16RespDetail> resps = selectB16Resps(params().set("b16Ids", b16Ids));
Map<String, List<LntrisB16.B16RespDetail>> byB16Id = resps.stream().collect(Collectors.groupingBy(LntrisB16.B16RespDetail::getB16Id));
b16s.forEach(b16 -> {
List<LntrisB16.B16RespDetail> details = byB16Id.get(b16.getB16Id());
b16.getResponse().setResVo1(details);
});
}
return b16s;
}
/** .
* @return
*/
default List<LntrisB16> selectB16s() {
return selectB16Reqs(null);
}
/** .
* @param params
* <ul><li>b16 - </li>
* </ul>
* @return
*/
int insertB16Req(Map<String, Object> params);
/** .
* @param b16
* @return
*/
default int insertB16Req(LntrisB16 b16) {
return insertB16Req(params().set("b16", b16));
}
/** .
* @param params
* <ul><li>b16s - </li>
* </ul>
* @return
*/
int updateB16ReqStatus(Map<String, Object> params);
/** .
* @param b16s
* @return
*/
default int updateB16Reqs(List<LntrisB16> b16s) {
return updateB16ReqStatus(params().set("b16s", b16s));
}
/** .
* @param params
* @return
*/
List<LntrisB16.B16RespDetail> selectB16Resps(Map<String, Object> params);
/** .
* <ul><li>b16 - </li>
* </ul>
* @return
*/
int insertB16Resps(Map<String, Object> params);
/** .
* @param b16
* @return
*/
default int insertB16Resps(LntrisB16 b16) {
String b16Id = b16.getB16Id();
List<LntrisB16.B16RespDetail> resps = b16.getResponse().getResVo1();
if (isEmpty(b16Id) || resps.isEmpty()) return 0;
for (int i = 0; i < resps.size(); ++i) {
LntrisB16.B16RespDetail resp = resps.get(i);
resp.setB16Id(b16Id);
resp.setB16Sn(Integer.toString(i + 1));
}
return insertB16Resps(params().set("resps", resps));
}
/** / .
* @param b16s
* @return
*/
default int insertB16s(List<LntrisB16> b16s) {
int affected = 0;
for (LntrisB16 b16: b16s) {
affected += insertB16Req(b16)
+ insertB16Resps(b16);
}
return affected;
}
}

@ -0,0 +1,551 @@
package cokr.xit.interfaces.lntris.special.b.service;
import java.util.List;
import cokr.xit.interfaces.lntris.special.b.LntrisB01;
import cokr.xit.interfaces.lntris.special.b.LntrisB02;
import cokr.xit.interfaces.lntris.special.b.LntrisB03;
import cokr.xit.interfaces.lntris.special.b.LntrisB04;
import cokr.xit.interfaces.lntris.special.b.LntrisB05;
import cokr.xit.interfaces.lntris.special.b.LntrisB06;
import cokr.xit.interfaces.lntris.special.b.LntrisB07;
import cokr.xit.interfaces.lntris.special.b.LntrisB08;
import cokr.xit.interfaces.lntris.special.b.LntrisB09;
import cokr.xit.interfaces.lntris.special.b.LntrisB10;
import cokr.xit.interfaces.lntris.special.b.LntrisB11;
import cokr.xit.interfaces.lntris.special.b.LntrisB12;
import cokr.xit.interfaces.lntris.special.b.LntrisB13;
import cokr.xit.interfaces.lntris.special.b.LntrisB14;
import cokr.xit.interfaces.lntris.special.b.LntrisB15;
import cokr.xit.interfaces.lntris.special.b.LntrisB16;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
/**
* @author mjkhan
*/
public interface LntrisBService {
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB01> createB01s(String taskSeCd, List<LntrisB01.B01ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB01> getB01s(String taskSeCd, List<LntrisB01.B01ReqDetail> reqs);
/** .
*/
void getB01s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB01> getB01s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB02> createB02s(String taskSeCd, List<LntrisB02.B02ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB02> getB02s(String taskSeCd, List<LntrisB02.B02ReqDetail> reqs);
/** .
*/
void getB02s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB02> getB02s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB03> createB03s(String taskSeCd, List<LntrisB03.B03ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB03> getB03s(String taskSeCd, List<LntrisB03.B03ReqDetail> reqs);
/** .
*/
void getB03s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB03> getB03s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB04> createB04s(String taskSeCd, List<LntrisB04.B04ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB04> getB04s(String taskSeCd, List<LntrisB04.B04ReqDetail> reqs);
/** .
*/
void getB04s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB04> getB04s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB05> createB05s(String taskSeCd, List<LntrisB05.B05ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB05> getB05s(String taskSeCd, List<LntrisB05.B05ReqDetail> reqs);
/** .
*/
void getB05s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
List<LntrisB05> getB05s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB06> createB06s(String taskSeCd, List<LntrisB06.B06ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB06> getB06s(String taskSeCd, List<LntrisB06.B06ReqDetail> reqs);
/** .
*/
void getB06s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
List<LntrisB06> getB06s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB07> createB07s(String taskSeCd, List<LntrisB07.B07ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB07> getB07s(String taskSeCd, List<LntrisB07.B07ReqDetail> reqs);
/** .
*/
void getB07s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB07> getB07s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB08> createB08s(String taskSeCd, List<LntrisB08.B08ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB08> getB08s(String taskSeCd, List<LntrisB08.B08ReqDetail> reqs);
/** .
*/
void getB08s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
List<LntrisB08> getB08s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB09> createB09s(String taskSeCd, List<LntrisB09.B09ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB09> getB09s(String taskSeCd, List<LntrisB09.B09ReqDetail> reqs);
/** .
*/
void getB09s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB09> getB09s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB10> createB10s(String taskSeCd, List<LntrisB10.B10ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB10> getB10s(String taskSeCd, List<LntrisB10.B10ReqDetail> reqs);
/** .
*/
void getB10s();
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
List<LntrisB10> getB10s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB11> createB11s(String taskSeCd, List<LntrisB11.B11ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB11> getB11s(String taskSeCd, List<LntrisB11.B11ReqDetail> reqs);
/** .
*/
void getB11s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrNo - </li>
* <li>regYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
List<LntrisB11> getB11s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB12> createB12s(String taskSeCd, List<LntrisB12.B12ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB12> getB12s(String taskSeCd, List<LntrisB12.B12ReqDetail> reqs);
/** .
*/
void getB12s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
List<LntrisB12> getB12s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB13> createB13s(String taskSeCd, List<LntrisB13.B13ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB13> getB13s(String taskSeCd, List<LntrisB13.B13ReqDetail> reqs);
/** .
*/
void getB13s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
List<LntrisB13> getB13s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB14> createB14s(String taskSeCd, List<LntrisB14.B14ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB14> getB14s(String taskSeCd, List<LntrisB14.B14ReqDetail> reqs);
/** .
*/
void getB14s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
List<LntrisB14> getB14s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB15> createB15s(String taskSeCd, List<LntrisB15.B15ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB15> getB15s(String taskSeCd, List<LntrisB15.B15ReqDetail> reqs);
/** .
*/
void getB15s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
List<LntrisB15> getB15s(LntrisBQuery params);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB16> createB16s(String taskSeCd, List<LntrisB16.B16ReqDetail> reqs);
/** .
* @param taskSeCd
* @param reqs
* @return
*/
List<LntrisB16> getB16s(String taskSeCd, List<LntrisB16.B16ReqDetail> reqs);
/** .
*/
void getB16s();
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
List<LntrisB16> getB16s(LntrisBQuery params);
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB01;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB01Bean")
public class LntrisB01Bean extends ScheduledBean {
@Resource(name="lntrisB01_03Mapper")
private LntrisB01_03Mapper b01_03Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB01> create(String taskSeCd, List<LntrisB01.B01ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB01> b01s = reqs.stream()
.map(req -> lntrisB01(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b01_03Mapper.insertB01s(b01s));
return b01s;
}
private LntrisB01 lntrisB01(String taskSeCd, LntrisB01.B01ReqDetail req) {
LntrisB01 b01 = new LntrisB01();
b01.setTaskSeCd(taskSeCd);
b01.getSourceMessage().getBody().setReqVo(req);
b01.setSourceHeaderCodes();
return b01;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB01> getB01s(String taskSeCd, List<LntrisB01.B01ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB01> b01s = reqs.stream()
.map(req -> lntrisB01(taskSeCd, req))
.toList();
for (LntrisB01 b01: b01s) {
requestor.request(b01);
}
InterfaceConfig.databaseActive(() -> b01_03Mapper.insertB01s(b01s));
return b01s;
}
/** .
*/
public void getB01s() {
List<LntrisB01> b01s = b01_03Mapper.selectB01s();
if (b01s.isEmpty()) return;
for (LntrisB01 b01: b01s) {
requestor.request(b01);
}
InterfaceConfig.databaseActive(() -> {
b01s.forEach(b01_03Mapper::insertB01Resps);
b01_03Mapper.updateB01Reqs(b01s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB01> getB01s(LntrisBQuery params) {
return b01_03Mapper.selectB01s(params);
}
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB02;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB02Bean")
public class LntrisB02Bean extends ScheduledBean {
@Resource(name="lntrisB01_03Mapper")
private LntrisB01_03Mapper b01_03Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB02> create(String taskSeCd, List<LntrisB02.B02ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB02> b02s = reqs.stream()
.map(req -> lntrisB02(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b01_03Mapper.insertB02s(b02s));
return b02s;
}
private LntrisB02 lntrisB02(String taskSeCd, LntrisB02.B02ReqDetail req) {
LntrisB02 b02 = new LntrisB02();
b02.setTaskSeCd(taskSeCd);
b02.getSourceMessage().getBody().setReqVo(req);
b02.setSourceHeaderCodes();
return b02;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB02> getB02s(String taskSeCd, List<LntrisB02.B02ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB02> b02s = reqs.stream()
.map(req -> lntrisB02(taskSeCd, req))
.toList();
for (LntrisB02 b02: b02s) {
requestor.request(b02);
}
InterfaceConfig.databaseActive(() -> b01_03Mapper.insertB02s(b02s));
return b02s;
}
/** .
*/
public void getB02s() {
List<LntrisB02> b02s = b01_03Mapper.selectB02s();
if (b02s.isEmpty()) return;
for (LntrisB02 b02: b02s) {
requestor.request(b02);
}
InterfaceConfig.databaseActive(() -> {
b02s.forEach(b01_03Mapper::insertB02Resps);
b01_03Mapper.updateB02Reqs(b02s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB02> getB02s(LntrisBQuery params) {
return b01_03Mapper.selectB02s(params);
}
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB03;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB03Bean")
public class LntrisB03Bean extends ScheduledBean {
@Resource(name="lntrisB01_03Mapper")
private LntrisB01_03Mapper b01_03Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB03> create(String taskSeCd, List<LntrisB03.B03ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB03> b03s = reqs.stream()
.map(req -> lntrisB03(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b01_03Mapper.insertB03s(b03s));
return b03s;
}
private LntrisB03 lntrisB03(String taskSeCd, LntrisB03.B03ReqDetail req) {
LntrisB03 b03 = new LntrisB03();
b03.setTaskSeCd(taskSeCd);
b03.getSourceMessage().getBody().setReqVo(req);
b03.setSourceHeaderCodes();
return b03;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB03> getB03s(String taskSeCd, List<LntrisB03.B03ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB03> b03s = reqs.stream()
.map(req -> lntrisB03(taskSeCd, req))
.toList();
for (LntrisB03 b03: b03s) {
requestor.request(b03);
}
InterfaceConfig.databaseActive(() -> b01_03Mapper.insertB03s(b03s));
return b03s;
}
/** .
*/
public void getB03s() {
List<LntrisB03> b03s = b01_03Mapper.selectB03s();
if (b03s.isEmpty()) return;
for (LntrisB03 b03: b03s) {
requestor.request(b03);
}
InterfaceConfig.databaseActive(() -> {
b03s.forEach(b01_03Mapper::insertB03Resps);
b01_03Mapper.updateB03Reqs(b03s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB03> getB03s(LntrisBQuery params) {
return b01_03Mapper.selectB03s(params);
}
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB04;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB04_06Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB04Bean")
public class LntrisB04Bean extends ScheduledBean {
@Resource(name="lntrisB04_06Mapper")
private LntrisB04_06Mapper b04_06Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB04> create(String taskSeCd, List<LntrisB04.B04ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB04> b04s = reqs.stream()
.map(req -> lntrisB04(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b04_06Mapper.insertB04s(b04s));
return b04s;
}
private LntrisB04 lntrisB04(String taskSeCd, LntrisB04.B04ReqDetail req) {
LntrisB04 b04 = new LntrisB04();
b04.setTaskSeCd(taskSeCd);
b04.getSourceMessage().getBody().setReqVo(req);
b04.setSourceHeaderCodes();
return b04;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB04> getB04s(String taskSeCd, List<LntrisB04.B04ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB04> b04s = reqs.stream()
.map(req -> lntrisB04(taskSeCd, req))
.toList();
for (LntrisB04 b04: b04s) {
requestor.request(b04);
}
InterfaceConfig.databaseActive(() -> b04_06Mapper.insertB04s(b04s));
return b04s;
}
/** .
*/
public void getB04s() {
List<LntrisB04> b04s = b04_06Mapper.selectB04s();
if (b04s.isEmpty()) return;
for (LntrisB04 b04: b04s) {
requestor.request(b04);
}
InterfaceConfig.databaseActive(() -> {
b04s.forEach(b04_06Mapper::insertB04Resps);
b04_06Mapper.updateB04Reqs(b04s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB04> getB04s(LntrisBQuery params) {
return b04_06Mapper.selectB04s(params);
}
}

@ -0,0 +1,100 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB05;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB04_06Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB05Bean")
public class LntrisB05Bean extends ScheduledBean {
@Resource(name="lntrisB04_06Mapper")
private LntrisB04_06Mapper b04_06Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB05> create(String taskSeCd, List<LntrisB05.B05ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB05> b05s = reqs.stream()
.map(req -> lntrisB05(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b04_06Mapper.insertB05s(b05s));
return b05s;
}
private LntrisB05 lntrisB05(String taskSeCd, LntrisB05.B05ReqDetail req) {
LntrisB05 b05 = new LntrisB05();
b05.setTaskSeCd(taskSeCd);
b05.getSourceMessage().getBody().setReqVo(req);
b05.setSourceHeaderCodes();
return b05;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB05> getB05s(String taskSeCd, List<LntrisB05.B05ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB05> b05s = reqs.stream()
.map(req -> lntrisB05(taskSeCd, req))
.toList();
for (LntrisB05 b05: b05s) {
requestor.request(b05);
}
InterfaceConfig.databaseActive(() -> b04_06Mapper.insertB05s(b05s));
return b05s;
}
/** .
*/
public void getB05s() {
List<LntrisB05> b05s = b04_06Mapper.selectB05s();
if (b05s.isEmpty()) return;
for (LntrisB05 b05: b05s) {
requestor.request(b05);
}
InterfaceConfig.databaseActive(() -> {
b05s.forEach(b04_06Mapper::insertB05Resps);
b04_06Mapper.updateB05Reqs(b05s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
public List<LntrisB05> getB05s(LntrisBQuery params) {
return b04_06Mapper.selectB05s(params);
}
}

@ -0,0 +1,100 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB06;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB04_06Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB06Bean")
public class LntrisB06Bean extends ScheduledBean {
@Resource(name="lntrisB04_06Mapper")
private LntrisB04_06Mapper b04_06Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB06> create(String taskSeCd, List<LntrisB06.B06ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB06> b06s = reqs.stream()
.map(req -> lntrisB06(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b04_06Mapper.insertB06s(b06s));
return b06s;
}
private LntrisB06 lntrisB06(String taskSeCd, LntrisB06.B06ReqDetail req) {
LntrisB06 b06 = new LntrisB06();
b06.setTaskSeCd(taskSeCd);
b06.getSourceMessage().getBody().setReqVo(req);
b06.setSourceHeaderCodes();
return b06;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB06> getB06s(String taskSeCd, List<LntrisB06.B06ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB06> b06s = reqs.stream()
.map(req -> lntrisB06(taskSeCd, req))
.toList();
for (LntrisB06 b06: b06s) {
requestor.request(b06);
}
InterfaceConfig.databaseActive(() -> b04_06Mapper.insertB06s(b06s));
return b06s;
}
/** .
*/
public void getB06s() {
List<LntrisB06> b06s = b04_06Mapper.selectB06s();
if (b06s.isEmpty()) return;
for (LntrisB06 b06: b06s) {
requestor.request(b06);
}
InterfaceConfig.databaseActive(() -> {
b06s.forEach(b04_06Mapper::insertB06Resps);
b04_06Mapper.updateB06Reqs(b06s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
public List<LntrisB06> getB06s(LntrisBQuery params) {
return b04_06Mapper.selectB06s(params);
}
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB07;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB07_09Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB07Bean")
public class LntrisB07Bean extends ScheduledBean {
@Resource(name="lntrisB07_09Mapper")
private LntrisB07_09Mapper b07_09Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB07> create(String taskSeCd, List<LntrisB07.B07ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB07> b07s = reqs.stream()
.map(req -> lntrisB07(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b07_09Mapper.insertB07s(b07s));
return b07s;
}
private LntrisB07 lntrisB07(String taskSeCd, LntrisB07.B07ReqDetail req) {
LntrisB07 b07 = new LntrisB07();
b07.setTaskSeCd(taskSeCd);
b07.getSourceMessage().getBody().setReqVo(req);
b07.setSourceHeaderCodes();
return b07;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB07> getB07s(String taskSeCd, List<LntrisB07.B07ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB07> b07s = reqs.stream()
.map(req -> lntrisB07(taskSeCd, req))
.toList();
for (LntrisB07 b07: b07s) {
requestor.request(b07);
}
InterfaceConfig.databaseActive(() -> b07_09Mapper.insertB07s(b07s));
return b07s;
}
/** .
*/
public void getB07s() {
List<LntrisB07> b07s = b07_09Mapper.selectB07s();
if (b07s.isEmpty()) return;
for (LntrisB07 b07: b07s) {
requestor.request(b07);
}
InterfaceConfig.databaseActive(() -> {
b07s.forEach(b07_09Mapper::insertB07Resps);
b07_09Mapper.updateB07Reqs(b07s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB07> getB07s(LntrisBQuery params) {
return b07_09Mapper.selectB07Reqs(params);
}
}

@ -0,0 +1,100 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB08;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB07_09Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB08Bean")
public class LntrisB08Bean extends ScheduledBean {
@Resource(name="lntrisB07_09Mapper")
private LntrisB07_09Mapper b07_09Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB08> create(String taskSeCd, List<LntrisB08.B08ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB08> b08s = reqs.stream()
.map(req -> lntrisB08(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b07_09Mapper.insertB08s(b08s));
return b08s;
}
private LntrisB08 lntrisB08(String taskSeCd, LntrisB08.B08ReqDetail req) {
LntrisB08 b08 = new LntrisB08();
b08.setTaskSeCd(taskSeCd);
b08.getSourceMessage().getBody().setReqVo(req);
b08.setSourceHeaderCodes();
return b08;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB08> getB08s(String taskSeCd, List<LntrisB08.B08ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB08> b08s = reqs.stream()
.map(req -> lntrisB08(taskSeCd, req))
.toList();
for (LntrisB08 b08: b08s) {
requestor.request(b08);
}
InterfaceConfig.databaseActive(() -> b07_09Mapper.insertB08s(b08s));
return b08s;
}
/** .
*/
public void getB08s() {
List<LntrisB08> b08s = b07_09Mapper.selectB08s();
if (b08s.isEmpty()) return;
for (LntrisB08 b08: b08s) {
requestor.request(b08);
}
InterfaceConfig.databaseActive(() -> {
b08s.forEach(b07_09Mapper::insertB08Resps);
b07_09Mapper.updateB08Reqs(b08s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* @return
*/
public List<LntrisB08> getB08s(LntrisBQuery params) {
return b07_09Mapper.selectB08s(params);
}
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB09;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB07_09Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB09Bean")
public class LntrisB09Bean extends ScheduledBean {
@Resource(name="lntrisB07_09Mapper")
private LntrisB07_09Mapper b07_09Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB09> create(String taskSeCd, List<LntrisB09.B09ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB09> b09s = reqs.stream()
.map(req -> lntrisB09(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b07_09Mapper.insertB09s(b09s));
return b09s;
}
private LntrisB09 lntrisB09(String taskSeCd, LntrisB09.B09ReqDetail req) {
LntrisB09 b09 = new LntrisB09();
b09.setTaskSeCd(taskSeCd);
b09.getSourceMessage().getBody().setReqVo(req);
b09.setSourceHeaderCodes();
return b09;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB09> getB09s(String taskSeCd, List<LntrisB09.B09ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB09> b09s = reqs.stream()
.map(req -> lntrisB09(taskSeCd, req))
.toList();
for (LntrisB09 b09: b09s) {
requestor.request(b09);
}
InterfaceConfig.databaseActive(() -> b07_09Mapper.insertB09s(b09s));
return b09s;
}
/** .
*/
public void getB09s() {
List<LntrisB09> b09s = b07_09Mapper.selectB09s();
if (b09s.isEmpty()) return;
for (LntrisB09 b09: b09s) {
requestor.request(b09);
}
InterfaceConfig.databaseActive(() -> {
b09s.forEach(b07_09Mapper::insertB09Resps);
b07_09Mapper.updateB09Reqs(b09s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB09> getB09s(LntrisBQuery params) {
return b07_09Mapper.selectB09s(params);
}
}

@ -0,0 +1,111 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB10;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB10_12Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB10Bean")
public class LntrisB10Bean extends ScheduledBean {
@Resource(name="lntrisB10_12Mapper")
private LntrisB10_12Mapper b10_12Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB10> create(String taskSeCd, List<LntrisB10.B10ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB10> b10s = reqs.stream()
.map(req -> lntrisB10(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b10_12Mapper.insertB10s(b10s));
return b10s;
}
private LntrisB10 lntrisB10(String taskSeCd, LntrisB10.B10ReqDetail req) {
LntrisB10 b10 = new LntrisB10();
b10.setTaskSeCd(taskSeCd);
b10.getSourceMessage().getBody().setReqVo(req);
b10.setSourceHeaderCodes();
return b10;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB10> getB10s(String taskSeCd, List<LntrisB10.B10ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB10> b10s = reqs.stream()
.map(req -> lntrisB10(taskSeCd, req))
.toList();
for (LntrisB10 b10: b10s) {
requestor.request(b10);
}
InterfaceConfig.databaseActive(() -> b10_12Mapper.insertB10s(b10s));
return b10s;
}
/** .
*/
public void getB10s() {
List<LntrisB10> b10s = b10_12Mapper.selectB10s();
if (b10s.isEmpty()) return;
for (LntrisB10 b10: b10s) {
requestor.request(b10);
}
InterfaceConfig.databaseActive(() -> {
b10s.forEach(b10_12Mapper::insertB10Resps);
b10_12Mapper.updateB10Reqs(b10s);
});
}
/** .
* @param params
* <ul><li>
* <ul><li>pyrSeCd - </li>
* <li>pyrNo - </li>
* </ul>
* </li>
* <li>
* <ul><li>sgbCd - </li>
* <li>dptCd - </li>
* <li>fyr - </li>
* <li>actSeCd - </li>
* <li>rprsTxmCd - </li>
* <li>lvyNo - </li>
* </ul>
* </li>
* </ul>
* @return
*/
public List<LntrisB10> getB10s(LntrisBQuery params) {
return b10_12Mapper.selectB10Reqs(params);
}
}

@ -0,0 +1,101 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB11;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB10_12Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB11Bean")
public class LntrisB11Bean extends ScheduledBean {
@Resource(name="lntrisB10_12Mapper")
private LntrisB10_12Mapper b10_12Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB11> create(String taskSeCd, List<LntrisB11.B11ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB11> b11s = reqs.stream()
.map(req -> lntrisB11(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b10_12Mapper.insertB11s(b11s));
return b11s;
}
private LntrisB11 lntrisB11(String taskSeCd, LntrisB11.B11ReqDetail req) {
LntrisB11 b11 = new LntrisB11();
b11.setTaskSeCd(taskSeCd);
b11.getSourceMessage().getBody().setReqVo(req);
b11.setSourceHeaderCodes();
return b11;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB11> getB11s(String taskSeCd, List<LntrisB11.B11ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB11> b11s = reqs.stream()
.map(req -> lntrisB11(taskSeCd, req))
.toList();
for (LntrisB11 b11: b11s) {
requestor.request(b11);
}
InterfaceConfig.databaseActive(() -> b10_12Mapper.insertB11s(b11s));
return b11s;
}
/** .
*/
public void getB11s() {
List<LntrisB11> b11s = b10_12Mapper.selectB11s();
if (b11s.isEmpty()) return;
for (LntrisB11 b11: b11s) {
requestor.request(b11);
}
InterfaceConfig.databaseActive(() -> {
b11s.forEach(b10_12Mapper::insertB11Resps);
b10_12Mapper.updateB11Reqs(b11s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>pyrNo - </li>
* <li>regYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
public List<LntrisB11> getB11s(LntrisBQuery params) {
return b10_12Mapper.selectB11s(params);
}
}

@ -0,0 +1,99 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB12;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB10_12Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB12Bean")
public class LntrisB12Bean extends ScheduledBean {
@Resource(name="lntrisB10_12Mapper")
private LntrisB10_12Mapper b10_12Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB12> create(String taskSeCd, List<LntrisB12.B12ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB12> b12s = reqs.stream()
.map(req -> lntrisB12(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b10_12Mapper.insertB12s(b12s));
return b12s;
}
private LntrisB12 lntrisB12(String taskSeCd, LntrisB12.B12ReqDetail req) {
LntrisB12 b12 = new LntrisB12();
b12.setTaskSeCd(taskSeCd);
b12.getSourceMessage().getBody().setReqVo(req);
b12.setSourceHeaderCodes();
return b12;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB12> getB12s(String taskSeCd, List<LntrisB12.B12ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB12> b12s = reqs.stream()
.map(req -> lntrisB12(taskSeCd, req))
.toList();
for (LntrisB12 b12: b12s) {
requestor.request(b12);
}
InterfaceConfig.databaseActive(() -> b10_12Mapper.insertB12s(b12s));
return b12s;
}
/** .
*/
public void getB12s() {
List<LntrisB12> b12s = b10_12Mapper.selectB12s();
if (b12s.isEmpty()) return;
for (LntrisB12 b12: b12s) {
requestor.request(b12);
}
InterfaceConfig.databaseActive(() -> {
b12s.forEach(b10_12Mapper::insertB12Resps);
b10_12Mapper.updateB12Reqs(b12s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
public List<LntrisB12> getB12s(LntrisBQuery params) {
return b10_12Mapper.selectB12Reqs(params);
}
}

@ -0,0 +1,101 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB13;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB13_16Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB13Bean")
public class LntrisB13Bean extends ScheduledBean {
@Resource(name="lntrisB13_16Mapper")
private LntrisB13_16Mapper b13_16Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB13> create(String taskSeCd, List<LntrisB13.B13ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB13> b13s = reqs.stream()
.map(req -> lntrisB13(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB13s(b13s));
return b13s;
}
private LntrisB13 lntrisB13(String taskSeCd, LntrisB13.B13ReqDetail req) {
LntrisB13 b13 = new LntrisB13();
b13.setTaskSeCd(taskSeCd);
b13.getSourceMessage().getBody().setReqVo(req);
b13.setSourceHeaderCodes();
return b13;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB13> getB13s(String taskSeCd, List<LntrisB13.B13ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB13> b13s = reqs.stream()
.map(req -> lntrisB13(taskSeCd, req))
.toList();
for (LntrisB13 b13: b13s) {
requestor.request(b13);
}
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB13s(b13s));
return b13s;
}
/** .
*/
public void getB13s() {
List<LntrisB13> b13s = b13_16Mapper.selectB13s();
if (b13s.isEmpty()) return;
for (LntrisB13 b13: b13s) {
requestor.request(b13);
}
InterfaceConfig.databaseActive(() -> {
b13s.forEach(b13_16Mapper::insertB13Resps);
b13_16Mapper.updateB13Reqs(b13s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
public List<LntrisB13> getB13s(LntrisBQuery params) {
return b13_16Mapper.selectB13s(params);
}
}

@ -0,0 +1,99 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB14;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB13_16Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB14Bean")
public class LntrisB14Bean extends ScheduledBean {
@Resource(name="lntrisB13_16Mapper")
private LntrisB13_16Mapper b13_16Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB14> create(String taskSeCd, List<LntrisB14.B14ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB14> b14s = reqs.stream()
.map(req -> lntrisB14(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB14s(b14s));
return b14s;
}
private LntrisB14 lntrisB14(String taskSeCd, LntrisB14.B14ReqDetail req) {
LntrisB14 b14 = new LntrisB14();
b14.setTaskSeCd(taskSeCd);
b14.getSourceMessage().getBody().setReqVo(req);
b14.setSourceHeaderCodes();
return b14;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB14> getB14s(String taskSeCd, List<LntrisB14.B14ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB14> b14s = reqs.stream()
.map(req -> lntrisB14(taskSeCd, req))
.toList();
for (LntrisB14 b14: b14s) {
requestor.request(b14);
}
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB14s(b14s));
return b14s;
}
/** .
*/
public void getB14s() {
List<LntrisB14> b14s = b13_16Mapper.selectB14s();
if (b14s.isEmpty()) return;
for (LntrisB14 b14: b14s) {
requestor.request(b14);
}
InterfaceConfig.databaseActive(() -> {
b14s.forEach(b13_16Mapper::insertB14Resps);
b13_16Mapper.updateB14Reqs(b14s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
public List<LntrisB14> getB14s(LntrisBQuery params) {
return b13_16Mapper.selectB14s(params);
}
}

@ -0,0 +1,101 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB15;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB13_16Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB15Bean")
public class LntrisB15Bean extends ScheduledBean {
@Resource(name="lntrisB13_16Mapper")
private LntrisB13_16Mapper b13_16Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB15> create(String taskSeCd, List<LntrisB15.B15ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB15> b15s = reqs.stream()
.map(req -> lntrisB15(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB15s(b15s));
return b15s;
}
private LntrisB15 lntrisB15(String taskSeCd, LntrisB15.B15ReqDetail req) {
LntrisB15 b15 = new LntrisB15();
b15.setTaskSeCd(taskSeCd);
b15.getSourceMessage().getBody().setReqVo(req);
b15.setSourceHeaderCodes();
return b15;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB15> getB15s(String taskSeCd, List<LntrisB15.B15ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB15> b15s = reqs.stream()
.map(req -> lntrisB15(taskSeCd, req))
.toList();
for (LntrisB15 b15: b15s) {
requestor.request(b15);
}
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB15s(b15s));
return b15s;
}
/** .
*/
public void getB15s() {
List<LntrisB15> b15s = b13_16Mapper.selectB15s();
if (b15s.isEmpty()) return;
for (LntrisB15 b15: b15s) {
requestor.request(b15);
}
InterfaceConfig.databaseActive(() -> {
b15s.forEach(b13_16Mapper::insertB15Resps);
b13_16Mapper.updateB15Reqs(b15s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>vhrno - </li>
* <li>rgtnYmd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
public List<LntrisB15> getB15s(LntrisBQuery params) {
return b13_16Mapper.selectB15Reqs(params);
}
}

@ -0,0 +1,99 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.Collections;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.component.ScheduledBean;
import cokr.xit.interfaces.lntris.InterfaceConfig;
import cokr.xit.interfaces.lntris.Requestor;
import cokr.xit.interfaces.lntris.special.b.LntrisB16;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.dao.LntrisB13_16Mapper;
/** Bean
* @author mjkhan
*/
@Component("lntrisB16Bean")
public class LntrisB16Bean extends ScheduledBean {
@Resource(name="lntrisB13_16Mapper")
private LntrisB13_16Mapper b13_16Mapper;
private Requestor requestor = new Requestor();
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB16> create(String taskSeCd, List<LntrisB16.B16ReqDetail> reqs) {
if (isEmpty(reqs)) return Collections.emptyList();
List<LntrisB16> b16s = reqs.stream()
.map(req -> lntrisB16(taskSeCd, req))
.toList();
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB16s(b16s));
return b16s;
}
private LntrisB16 lntrisB16(String taskSeCd, LntrisB16.B16ReqDetail req) {
LntrisB16 b16 = new LntrisB16();
b16.setTaskSeCd(taskSeCd);
b16.getSourceMessage().getBody().setReqVo(req);
b16.setSourceHeaderCodes();
return b16;
}
/** .
* @param taskSeCd
* @param reqs
* @return
*/
public List<LntrisB16> getB16s(String taskSeCd, List<LntrisB16.B16ReqDetail> reqs) {
if (reqs.isEmpty()) return Collections.emptyList();
List<LntrisB16> b16s = reqs.stream()
.map(req -> lntrisB16(taskSeCd, req))
.toList();
for (LntrisB16 b16: b16s) {
requestor.request(b16);
}
InterfaceConfig.databaseActive(() -> b13_16Mapper.insertB16s(b16s));
return b16s;
}
/** .
*/
public void getB16s() {
List<LntrisB16> b16s = b13_16Mapper.selectB16s();
if (b16s.isEmpty()) return;
for (LntrisB16 b16: b16s) {
requestor.request(b16);
}
InterfaceConfig.databaseActive(() -> {
b16s.forEach(b13_16Mapper::insertB16Resps);
b13_16Mapper.updateB16Reqs(b16s);
});
}
/** .
* @param params
* <ul><li>sgbCd - </li>
* <li>acbKey - </li>
* </ul>
* @return
*/
public List<LntrisB16> getB16s(LntrisBQuery params) {
return b13_16Mapper.selectB16s(params);
}
}

@ -0,0 +1,402 @@
package cokr.xit.interfaces.lntris.special.b.service.bean;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.foundation.component.ScheduledServiceBean;
import cokr.xit.interfaces.lntris.special.b.LntrisB01;
import cokr.xit.interfaces.lntris.special.b.LntrisB01.B01ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB02;
import cokr.xit.interfaces.lntris.special.b.LntrisB02.B02ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB03;
import cokr.xit.interfaces.lntris.special.b.LntrisB03.B03ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB04;
import cokr.xit.interfaces.lntris.special.b.LntrisB04.B04ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB05;
import cokr.xit.interfaces.lntris.special.b.LntrisB05.B05ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB06;
import cokr.xit.interfaces.lntris.special.b.LntrisB06.B06ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB07;
import cokr.xit.interfaces.lntris.special.b.LntrisB07.B07ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB08;
import cokr.xit.interfaces.lntris.special.b.LntrisB08.B08ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB09;
import cokr.xit.interfaces.lntris.special.b.LntrisB09.B09ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB10;
import cokr.xit.interfaces.lntris.special.b.LntrisB10.B10ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB11;
import cokr.xit.interfaces.lntris.special.b.LntrisB11.B11ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB12;
import cokr.xit.interfaces.lntris.special.b.LntrisB12.B12ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB13;
import cokr.xit.interfaces.lntris.special.b.LntrisB13.B13ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB14;
import cokr.xit.interfaces.lntris.special.b.LntrisB14.B14ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB15;
import cokr.xit.interfaces.lntris.special.b.LntrisB15.B15ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisB16;
import cokr.xit.interfaces.lntris.special.b.LntrisB16.B16ReqDetail;
import cokr.xit.interfaces.lntris.special.b.LntrisBQuery;
import cokr.xit.interfaces.lntris.special.b.service.LntrisBService;
/**
* @author mjkhan
*/
@Service("lntrisBService")
public class LntrisBServiceBean extends ScheduledServiceBean implements LntrisBService {
@Resource(name="lntrisB01Bean")
private LntrisB01Bean b01Bean;
@Resource(name="lntrisB02Bean")
private LntrisB02Bean b02Bean;
@Resource(name="lntrisB03Bean")
private LntrisB03Bean b03Bean;
@Resource(name="lntrisB04Bean")
private LntrisB04Bean b04Bean;
@Resource(name="lntrisB05Bean")
private LntrisB05Bean b05Bean;
@Resource(name="lntrisB06Bean")
private LntrisB06Bean b06Bean;
@Resource(name="lntrisB07Bean")
private LntrisB07Bean b07Bean;
@Resource(name="lntrisB08Bean")
private LntrisB08Bean b08Bean;
@Resource(name="lntrisB09Bean")
private LntrisB09Bean b09Bean;
@Resource(name="lntrisB10Bean")
private LntrisB10Bean b10Bean;
@Resource(name="lntrisB11Bean")
private LntrisB11Bean b11Bean;
@Resource(name="lntrisB12Bean")
private LntrisB12Bean b12Bean;
@Resource(name="lntrisB13Bean")
private LntrisB13Bean b13Bean;
@Resource(name="lntrisB14Bean")
private LntrisB14Bean b14Bean;
@Resource(name="lntrisB15Bean")
private LntrisB15Bean b15Bean;
@Resource(name="lntrisB16Bean")
private LntrisB16Bean b16Bean;
@Override
public List<LntrisB01> createB01s(String taskSeCd, List<B01ReqDetail> reqs) {
return b01Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB01> getB01s(String taskSeCd, List<B01ReqDetail> reqs) {
return b01Bean.getB01s(taskSeCd, reqs);
}
@Override
public void getB01s() {
execute(b01Bean, (Runnable)b01Bean::getB01s);
}
@Override
public List<LntrisB01> getB01s(LntrisBQuery params) {
return b01Bean.getB01s(params);
}
@Override
public List<LntrisB02> createB02s(String taskSeCd, List<B02ReqDetail> reqs) {
return b02Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB02> getB02s(String taskSeCd, List<B02ReqDetail> reqs) {
return b02Bean.getB02s(taskSeCd, reqs);
}
@Override
public void getB02s() {
execute(b02Bean, (Runnable)b02Bean::getB02s);
}
@Override
public List<LntrisB02> getB02s(LntrisBQuery params) {
return b02Bean.getB02s(params);
}
@Override
public List<LntrisB03> createB03s(String taskSeCd, List<B03ReqDetail> reqs) {
return b03Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB03> getB03s(String taskSeCd, List<B03ReqDetail> reqs) {
return b03Bean.getB03s(taskSeCd, reqs);
}
@Override
public void getB03s() {
execute(b03Bean, (Runnable)b03Bean::getB03s);
}
@Override
public List<LntrisB03> getB03s(LntrisBQuery params) {
return b03Bean.getB03s(params);
}
@Override
public List<LntrisB04> createB04s(String taskSeCd, List<B04ReqDetail> reqs) {
return b04Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB04> getB04s(String taskSeCd, List<B04ReqDetail> reqs) {
return b04Bean.getB04s(taskSeCd, reqs);
}
@Override
public void getB04s() {
execute(b04Bean, (Runnable)b04Bean::getB04s);
}
@Override
public List<LntrisB04> getB04s(LntrisBQuery params) {
return b04Bean.getB04s(params);
}
@Override
public List<LntrisB05> createB05s(String taskSeCd, List<B05ReqDetail> reqs) {
return b05Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB05> getB05s(String taskSeCd, List<B05ReqDetail> reqs) {
return b05Bean.getB05s(taskSeCd, reqs);
}
@Override
public void getB05s() {
execute(b05Bean, (Runnable)b05Bean::getB05s);
}
@Override
public List<LntrisB05> getB05s(LntrisBQuery params) {
return b05Bean.getB05s(params);
}
@Override
public List<LntrisB06> createB06s(String taskSeCd, List<B06ReqDetail> reqs) {
return b06Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB06> getB06s(String taskSeCd, List<B06ReqDetail> reqs) {
return b06Bean.getB06s(taskSeCd, reqs);
}
@Override
public void getB06s() {
execute(b06Bean, (Runnable)b06Bean::getB06s);
}
@Override
public List<LntrisB06> getB06s(LntrisBQuery params) {
return b06Bean.getB06s(params);
}
@Override
public List<LntrisB07> createB07s(String taskSeCd, List<B07ReqDetail> reqs) {
return b07Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB07> getB07s(String taskSeCd, List<B07ReqDetail> reqs) {
return b07Bean.getB07s(taskSeCd, reqs);
}
@Override
public void getB07s() {
execute(b07Bean, (Runnable)b07Bean::getB07s);
}
@Override
public List<LntrisB07> getB07s(LntrisBQuery params) {
return b07Bean.getB07s(params);
}
@Override
public List<LntrisB08> createB08s(String taskSeCd, List<B08ReqDetail> reqs) {
return b08Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB08> getB08s(String taskSeCd, List<B08ReqDetail> reqs) {
return b08Bean.getB08s(taskSeCd, reqs);
}
@Override
public void getB08s() {
execute(b08Bean, (Runnable)b08Bean::getB08s);
}
@Override
public List<LntrisB08> getB08s(LntrisBQuery params) {
return b08Bean.getB08s(params);
}
@Override
public List<LntrisB09> createB09s(String taskSeCd, List<B09ReqDetail> reqs) {
return b09Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB09> getB09s(String taskSeCd, List<B09ReqDetail> reqs) {
return b09Bean.getB09s(taskSeCd, reqs);
}
@Override
public void getB09s() {
execute(b09Bean, (Runnable)b09Bean::getB09s);
}
@Override
public List<LntrisB09> getB09s(LntrisBQuery params) {
return b09Bean.getB09s(params);
}
@Override
public List<LntrisB10> createB10s(String taskSeCd, List<B10ReqDetail> reqs) {
return b10Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB10> getB10s(String taskSeCd, List<B10ReqDetail> reqs) {
return b10Bean.getB10s(taskSeCd, reqs);
}
@Override
public void getB10s() {
execute(b10Bean, (Runnable)b10Bean::getB10s);
}
@Override
public List<LntrisB10> getB10s(LntrisBQuery params) {
return b10Bean.getB10s(params);
}
@Override
public List<LntrisB11> createB11s(String taskSeCd, List<B11ReqDetail> reqs) {
return b11Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB11> getB11s(String taskSeCd, List<B11ReqDetail> reqs) {
return b11Bean.getB11s(taskSeCd, reqs);
}
@Override
public void getB11s() {
execute(b11Bean, (Runnable)b11Bean::getB11s);
}
@Override
public List<LntrisB11> getB11s(LntrisBQuery params) {
return b11Bean.getB11s(params);
}
@Override
public List<LntrisB12> createB12s(String taskSeCd, List<B12ReqDetail> reqs) {
return b12Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB12> getB12s(String taskSeCd, List<B12ReqDetail> reqs) {
return b12Bean.getB12s(taskSeCd, reqs);
}
@Override
public void getB12s() {
execute(b12Bean, (Runnable)b12Bean::getB12s);
}
@Override
public List<LntrisB12> getB12s(LntrisBQuery params) {
return b12Bean.getB12s(params);
}
@Override
public List<LntrisB13> createB13s(String taskSeCd, List<B13ReqDetail> reqs) {
return b13Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB13> getB13s(String taskSeCd, List<B13ReqDetail> reqs) {
return b13Bean.getB13s(taskSeCd, reqs);
}
@Override
public void getB13s() {
execute(b13Bean, (Runnable)b13Bean::getB13s);
}
@Override
public List<LntrisB13> getB13s(LntrisBQuery params) {
return b13Bean.getB13s(params);
}
@Override
public List<LntrisB14> createB14s(String taskSeCd, List<B14ReqDetail> reqs) {
return b14Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB14> getB14s(String taskSeCd, List<B14ReqDetail> reqs) {
return b14Bean.getB14s(taskSeCd, reqs);
}
@Override
public void getB14s() {
execute(b14Bean, (Runnable)b14Bean::getB14s);
}
@Override
public List<LntrisB14> getB14s(LntrisBQuery params) {
return b14Bean.getB14s(params);
}
@Override
public List<LntrisB15> createB15s(String taskSeCd, List<B15ReqDetail> reqs) {
return b15Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB15> getB15s(String taskSeCd, List<B15ReqDetail> reqs) {
return b15Bean.getB15s(taskSeCd, reqs);
}
@Override
public void getB15s() {
execute(b15Bean, (Runnable)b15Bean::getB15s);
}
@Override
public List<LntrisB15> getB15s(LntrisBQuery params) {
return b15Bean.getB15s(params);
}
@Override
public List<LntrisB16> createB16s(String taskSeCd, List<B16ReqDetail> reqs) {
return b16Bean.create(taskSeCd, reqs);
}
@Override
public List<LntrisB16> getB16s(String taskSeCd, List<B16ReqDetail> reqs) {
return b16Bean.getB16s(taskSeCd, reqs);
}
@Override
public void getB16s() {
execute(b16Bean, (Runnable)b16Bean::getB16s);
}
@Override
public List<LntrisB16> getB16s(LntrisBQuery params) {
return b16Bean.getB16s(params);
}
}

@ -0,0 +1,553 @@
package cokr.xit.interfaces.lntris.special.b.web;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import cokr.xit.foundation.web.AbstractController;
import cokr.xit.interfaces.lntris.JsonParamSupport;
import cokr.xit.interfaces.lntris.special.b.LntrisB01;
import cokr.xit.interfaces.lntris.special.b.LntrisB02;
import cokr.xit.interfaces.lntris.special.b.LntrisB03;
import cokr.xit.interfaces.lntris.special.b.LntrisB04;
import cokr.xit.interfaces.lntris.special.b.LntrisB05;
import cokr.xit.interfaces.lntris.special.b.LntrisB06;
import cokr.xit.interfaces.lntris.special.b.LntrisB07;
import cokr.xit.interfaces.lntris.special.b.LntrisB08;
import cokr.xit.interfaces.lntris.special.b.LntrisB09;
import cokr.xit.interfaces.lntris.special.b.LntrisB10;
import cokr.xit.interfaces.lntris.special.b.LntrisB11;
import cokr.xit.interfaces.lntris.special.b.LntrisB12;
import cokr.xit.interfaces.lntris.special.b.LntrisB13;
import cokr.xit.interfaces.lntris.special.b.LntrisB14;
import cokr.xit.interfaces.lntris.special.b.LntrisB15;
import cokr.xit.interfaces.lntris.special.b.LntrisB16;
import cokr.xit.interfaces.lntris.special.b.service.LntrisBService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Getter;
import lombok.Setter;
@RestController
@RequestMapping("/intf/lntris")
public class LntrisBController extends AbstractController {
@Resource(name = "lntrisBService")
private LntrisBService lntrisBService;
/** .
* @param b01Params
* @return LntrisB01
*/
@PostMapping(name = "체납 상세세목 요청 등록", value = "/b01/create")
@Operation(summary = "체납 상세세목 요청 등록", tags = "b01")
public LntrisB01 create(@Parameter(description = "업무(시스템)코드 + 체납 상세세목 요청") @RequestBody B01Param b01Params) {
String taskSeCd = b01Params.getTaskSeCd();
LntrisB01.B01ReqDetail req = b01Params.getMsg();
List<LntrisB01> b01s = lntrisBService.createB01s(taskSeCd, List.of(req));
return !b01s.isEmpty() ? b01s.get(0) : null;
}
@Getter
@Setter
public static class B01Param extends JsonParamSupport<LntrisB01.B01ReqDetail> {
private LntrisB01.B01ReqDetail msg;
}
/** .
* @param b01Params
* @return LntrisB01
*/
@PostMapping(name = "체납 상세세목 요청", value = "/b01")
@Operation(summary = "체납 상세세목 요청", tags = "b01")
public LntrisB01 getB01(@Parameter(description = "업무(시스템)코드 + 체납 상세세목 요청") @RequestBody B01Param b01Params) {
String taskSeCd = b01Params.getTaskSeCd();
LntrisB01.B01ReqDetail req = b01Params.getMsg();
List<LntrisB01> b01s = lntrisBService.getB01s(taskSeCd, List.of(req));
return !b01s.isEmpty() ? b01s.get(0) : null;
}
/** .
* @param b02Params
* @return LntrisB02
*/
@PostMapping(name = "수납 상세정보 요청 등록", value = "/b02/create")
@Operation(summary = "수납 상세정보 요청 등록", tags = "b02")
public LntrisB02 create(@Parameter(description = "업무(시스템)코드 + 수납 상세정보 요청") @RequestBody B02Param b02Params) {
String taskSeCd = b02Params.getTaskSeCd();
LntrisB02.B02ReqDetail req = b02Params.getMsg();
List<LntrisB02> b02s = lntrisBService.createB02s(taskSeCd, List.of(req));
return !b02s.isEmpty() ? b02s.get(0) : null;
}
@Getter
@Setter
public static class B02Param extends JsonParamSupport<LntrisB02.B02ReqDetail> {
private LntrisB02.B02ReqDetail msg;
}
/** .
* @param b02Params
* @return LntrisB02
*/
@PostMapping(name = "수납 상세정보 요청", value = "/b02")
@Operation(summary = "수납 상세정보 요청", tags = "b02")
public LntrisB02 getB02(@Parameter(description = "업무(시스템)코드 + 수납 상세정보 요청") @RequestBody B02Param b02Params) {
String taskSeCd = b02Params.getTaskSeCd();
LntrisB02.B02ReqDetail req = b02Params.getMsg();
List<LntrisB02> b02s = lntrisBService.getB02s(taskSeCd, List.of(req));
return !b02s.isEmpty() ? b02s.get(0) : null;
}
/** .
* @param b03Params
* @return LntrisB03
*/
@PostMapping(name = "결손상세세목정보 요청 등록", value = "/b03/create")
@Operation(summary = "결손상세세목정보 요청 등록", tags = "b03")
public LntrisB03 create(@Parameter(description = "업무(시스템)코드 + 결손상세세목정보 요청") @RequestBody B03Param b03Params) {
String taskSeCd = b03Params.getTaskSeCd();
LntrisB03.B03ReqDetail req = b03Params.getMsg();
List<LntrisB03> b03s = lntrisBService.createB03s(taskSeCd, List.of(req));
return !b03s.isEmpty() ? b03s.get(0) : null;
}
@Getter
@Setter
public static class B03Param extends JsonParamSupport<LntrisB03.B03ReqDetail> {
private LntrisB03.B03ReqDetail msg;
}
/** .
* @param b03Params
* @return LntrisB03
*/
@PostMapping(name = "결손상세세목정보 요청", value = "/b03")
@Operation(summary = "결손상세세목정보 요청", tags = "b03")
public LntrisB03 getB03(@Parameter(description = "업무(시스템)코드 + 결손상세세목정보 요청") @RequestBody B03Param b03Params) {
String taskSeCd = b03Params.getTaskSeCd();
LntrisB03.B03ReqDetail req = b03Params.getMsg();
List<LntrisB03> b03s = lntrisBService.getB03s(taskSeCd, List.of(req));
return !b03s.isEmpty() ? b03s.get(0) : null;
}
/** .
* @param b04Params
* @return LntrisB04
*/
@PostMapping(name = "체납자독려정보 요청 등록", value = "/b04/create")
@Operation(summary = "체납자독려정보 요청 등록", tags = "b04")
public LntrisB04 create(@Parameter(description = "업무(시스템)코드 + 체납자독려정보 요청") @RequestBody B04Param b04Params) {
String taskSeCd = b04Params.getTaskSeCd();
LntrisB04.B04ReqDetail req = b04Params.getMsg();
List<LntrisB04> b04s = lntrisBService.createB04s(taskSeCd, List.of(req));
return !b04s.isEmpty() ? b04s.get(0) : null;
}
@Getter
@Setter
public static class B04Param extends JsonParamSupport<LntrisB04.B04ReqDetail> {
private LntrisB04.B04ReqDetail msg;
}
/** .
* @param b04Params
* @return LntrisB04
*/
@PostMapping(name = "체납자독려정보 요청", value = "/b04")
@Operation(summary = "체납자독려정보 요청", tags = "b04")
public LntrisB04 getB04(@Parameter(description = "업무(시스템)코드 + 체납자독려정보 요청") @RequestBody B04Param b04Params) {
String taskSeCd = b04Params.getTaskSeCd();
LntrisB04.B04ReqDetail req = b04Params.getMsg();
List<LntrisB04> b04s = lntrisBService.getB04s(taskSeCd, List.of(req));
return !b04s.isEmpty() ? b04s.get(0) : null;
}
/** .
* @param b05Params
* @return LntrisB05
*/
@PostMapping(name = "압류정보 요청 등록", value = "/b05/create")
@Operation(summary = "압류정보 요청 등록", tags = "b05")
public LntrisB05 create(@Parameter(description = "업무(시스템)코드 + 압류정보 요청") @RequestBody B05Param b05Params) {
String taskSeCd = b05Params.getTaskSeCd();
LntrisB05.B05ReqDetail req = b05Params.getMsg();
List<LntrisB05> b05s = lntrisBService.createB05s(taskSeCd, List.of(req));
return !b05s.isEmpty() ? b05s.get(0) : null;
}
@Getter
@Setter
public static class B05Param extends JsonParamSupport<LntrisB05.B05ReqDetail> {
private LntrisB05.B05ReqDetail msg;
}
/** .
* @param b05Params
* @return LntrisB05
*/
@PostMapping(name = "압류정보 요청", value = "/b05")
@Operation(summary = "압류정보 요청", tags = "b05")
public LntrisB05 getB05(@Parameter(description = "업무(시스템)코드 + 압류정보 요청") @RequestBody B05Param b05Params) {
String taskSeCd = b05Params.getTaskSeCd();
LntrisB05.B05ReqDetail req = b05Params.getMsg();
List<LntrisB05> b05s = lntrisBService.getB05s(taskSeCd, List.of(req));
return !b05s.isEmpty() ? b05s.get(0) : null;
}
/** .
* @param b06Params
* @return LntrisB06
*/
@PostMapping(name = "압류시점 체납정보 요청 등록", value = "/b06/create")
@Operation(summary = "압류시점 체납정보 요청 등록", tags = "b06")
public LntrisB06 create(@Parameter(description = "업무(시스템)코드 + 압류시점 체납정보 요청") @RequestBody B06Param b06Params) {
String taskSeCd = b06Params.getTaskSeCd();
LntrisB06.B06ReqDetail req = b06Params.getMsg();
List<LntrisB06> b06s = lntrisBService.createB06s(taskSeCd, List.of(req));
return !b06s.isEmpty() ? b06s.get(0) : null;
}
@Getter
@Setter
public static class B06Param extends JsonParamSupport<LntrisB06.B06ReqDetail> {
private LntrisB06.B06ReqDetail msg;
}
/** .
* @param b06Params
* @return LntrisB06
*/
@PostMapping(name = "압류시점 체납정보 요청", value = "/b06")
@Operation(summary = "압류시점 체납정보 요청", tags = "b06")
public LntrisB06 getB06(@Parameter(description = "업무(시스템)코드 + 압류시점 체납정보 요청") @RequestBody B06Param b06Params) {
String taskSeCd = b06Params.getTaskSeCd();
LntrisB06.B06ReqDetail req = b06Params.getMsg();
List<LntrisB06> b06s = lntrisBService.getB06s(taskSeCd, List.of(req));
return !b06s.isEmpty() ? b06s.get(0) : null;
}
/** .
* @param b07Params
* @return LntrisB07
*/
@PostMapping(name = "과오납 상세정보 요청 등록", value = "/b07/create")
@Operation(summary = "과오납 상세정보 요청 등록", tags = "b07")
public LntrisB07 create(@Parameter(description = "업무(시스템)코드 + 과오납 상세정보 요청") @RequestBody B07Param b07Params) {
String taskSeCd = b07Params.getTaskSeCd();
LntrisB07.B07ReqDetail req = b07Params.getMsg();
List<LntrisB07> b07s = lntrisBService.createB07s(taskSeCd, List.of(req));
return !b07s.isEmpty() ? b07s.get(0) : null;
}
@Getter
@Setter
public static class B07Param extends JsonParamSupport<LntrisB07.B07ReqDetail> {
private LntrisB07.B07ReqDetail msg;
}
/** .
* @param b07Params
* @return LntrisB07
*/
@PostMapping(name = "과오납 상세정보 요청", value = "/b07")
@Operation(summary = "과오납 상세정보 요청", tags = "b07")
public LntrisB07 getB07(@Parameter(description = "업무(시스템)코드 + 과오납 상세정보 요청") @RequestBody B07Param b07Params) {
String taskSeCd = b07Params.getTaskSeCd();
LntrisB07.B07ReqDetail req = b07Params.getMsg();
List<LntrisB07> b07s = lntrisBService.getB07s(taskSeCd, List.of(req));
return !b07s.isEmpty() ? b07s.get(0) : null;
}
/** .
* @param b08Params
* @return LntrisB08
*/
@PostMapping(name = "영치정보 요청 등록", value = "/b08/create")
@Operation(summary = "영치정보 요청 등록", tags = "b08")
public LntrisB08 create(@Parameter(description = "업무(시스템)코드 + 영치정보 요청") @RequestBody B08Param b08Params) {
String taskSeCd = b08Params.getTaskSeCd();
LntrisB08.B08ReqDetail req = b08Params.getMsg();
List<LntrisB08> b08s = lntrisBService.createB08s(taskSeCd, List.of(req));
return !b08s.isEmpty() ? b08s.get(0) : null;
}
@Getter
@Setter
public static class B08Param extends JsonParamSupport<LntrisB08.B08ReqDetail> {
private LntrisB08.B08ReqDetail msg;
}
/** .
* @param b08Params
* @return LntrisB08
*/
@PostMapping(name = "영치정보 요청", value = "/b08")
@Operation(summary = "영치정보 요청", tags = "b08")
public LntrisB08 getB08(@Parameter(description = "업무(시스템)코드 + 영치정보 요청") @RequestBody B08Param b08Params) {
String taskSeCd = b08Params.getTaskSeCd();
LntrisB08.B08ReqDetail req = b08Params.getMsg();
List<LntrisB08> b08s = lntrisBService.getB08s(taskSeCd, List.of(req));
return !b08s.isEmpty() ? b08s.get(0) : null;
}
/** .
* @param b09Params
* @return LntrisB09
*/
@PostMapping(name = "고지발송정보 요청 등록", value = "/b09/create")
@Operation(summary = "고지발송정보 요청 등록", tags = "b09")
public LntrisB09 create(@Parameter(description = "업무(시스템)코드 + 고지발송정보 요청") @RequestBody B09Param b09Params) {
String taskSeCd = b09Params.getTaskSeCd();
LntrisB09.B09ReqDetail req = b09Params.getMsg();
List<LntrisB09> b09s = lntrisBService.createB09s(taskSeCd, List.of(req));
return !b09s.isEmpty() ? b09s.get(0) : null;
}
@Getter
@Setter
public static class B09Param extends JsonParamSupport<LntrisB09.B09ReqDetail> {
private LntrisB09.B09ReqDetail msg;
}
/** .
* @param b09Params
* @return LntrisB09
*/
@PostMapping(name = "고지발송정보 요청", value = "/b09")
@Operation(summary = "고지발송정보 요청", tags = "b09")
public LntrisB09 getB09(@Parameter(description = "업무(시스템)코드 + 고지발송정보 요청") @RequestBody B09Param b09Params) {
String taskSeCd = b09Params.getTaskSeCd();
LntrisB09.B09ReqDetail req = b09Params.getMsg();
List<LntrisB09> b09s = lntrisBService.getB09s(taskSeCd, List.of(req));
return !b09s.isEmpty() ? b09s.get(0) : null;
}
/** .
* @param b10Params
* @return LntrisB10
*/
@PostMapping(name = "우편발송결과정보 요청 등록", value = "/b10/create")
@Operation(summary = "우편발송결과정보 요청 등록", tags = "b10")
public LntrisB10 create(@Parameter(description = "업무(시스템)코드 + 우편발송결과정보 요청") @RequestBody B10Param b10Params) {
String taskSeCd = b10Params.getTaskSeCd();
LntrisB10.B10ReqDetail req = b10Params.getMsg();
List<LntrisB10> b10s = lntrisBService.createB10s(taskSeCd, List.of(req));
return !b10s.isEmpty() ? b10s.get(0) : null;
}
@Getter
@Setter
public static class B10Param extends JsonParamSupport<LntrisB10.B10ReqDetail> {
private LntrisB10.B10ReqDetail msg;
}
/** .
* @param b10Params
* @return LntrisB10
*/
@PostMapping(name = "우편발송결과정보 요청", value = "/b10")
@Operation(summary = "우편발송결과정보 요청", tags = "b10")
public LntrisB10 getB10(@Parameter(description = "업무(시스템)코드 + 우편발송결과정보 요청") @RequestBody B10Param b10Params) {
String taskSeCd = b10Params.getTaskSeCd();
LntrisB10.B10ReqDetail req = b10Params.getMsg();
List<LntrisB10> b10s = lntrisBService.getB10s(taskSeCd, List.of(req));
return !b10s.isEmpty() ? b10s.get(0) : null;
}
/** .
* @param b11Params
* @return LntrisB11
*/
@PostMapping(name = "과태료대장 목록 요청 등록", value = "/b11/create")
@Operation(summary = "과태료대장 목록 요청 등록", tags = "b11")
public LntrisB11 create(@Parameter(description = "업무(시스템)코드 + 과태료대장 목록 요청") @RequestBody B11Param b11Params) {
String taskSeCd = b11Params.getTaskSeCd();
LntrisB11.B11ReqDetail req = b11Params.getMsg();
List<LntrisB11> b11s = lntrisBService.createB11s(taskSeCd, List.of(req));
return !b11s.isEmpty() ? b11s.get(0) : null;
}
@Getter
@Setter
public static class B11Param extends JsonParamSupport<LntrisB11.B11ReqDetail> {
private LntrisB11.B11ReqDetail msg;
}
/** .
* @param b11Params
* @return LntrisB11
*/
@PostMapping(name = "과태료대장 목록 요청", value = "/b11")
@Operation(summary = "과태료대장 목록 요청", tags = "b11")
public LntrisB11 getB11(@Parameter(description = "업무(시스템)코드 + 과태료대장 목록 요청") @RequestBody B11Param b11Params) {
String taskSeCd = b11Params.getTaskSeCd();
LntrisB11.B11ReqDetail req = b11Params.getMsg();
List<LntrisB11> b11s = lntrisBService.getB11s(taskSeCd, List.of(req));
return !b11s.isEmpty() ? b11s.get(0) : null;
}
/** .
* @param b12Params
* @return LntrisB12
*/
@PostMapping(name = "과태료대장 상세 목록 요청 등록", value = "/b12/create")
@Operation(summary = "과태료대장 상세 목록 요청 등록", tags = "b12")
public LntrisB12 create(@Parameter(description = "업무(시스템)코드 + 과태료대장 상세 목록 요청") @RequestBody B12Param b12Params) {
String taskSeCd = b12Params.getTaskSeCd();
LntrisB12.B12ReqDetail req = b12Params.getMsg();
List<LntrisB12> b12s = lntrisBService.createB12s(taskSeCd, List.of(req));
return !b12s.isEmpty() ? b12s.get(0) : null;
}
@Getter
@Setter
public static class B12Param extends JsonParamSupport<LntrisB12.B12ReqDetail> {
private LntrisB12.B12ReqDetail msg;
}
/** .
* @param b12Params
* @return LntrisB12
*/
@PostMapping(name = "과태료대장 상세 목록 요청", value = "/b12")
@Operation(summary = "과태료대장 상세 목록 요청", tags = "b12")
public LntrisB12 getB12(@Parameter(description = "업무(시스템)코드 + 과태료대장 상세 목록 요청") @RequestBody B12Param b12Params) {
String taskSeCd = b12Params.getTaskSeCd();
LntrisB12.B12ReqDetail req = b12Params.getMsg();
List<LntrisB12> b12s = lntrisBService.getB12s(taskSeCd, List.of(req));
return !b12s.isEmpty() ? b12s.get(0) : null;
}
/** .
* @param b13Params
* @return LntrisB13
*/
@PostMapping(name = "주정차위반 과태료대장 목록 요청 등록", value = "/b13/create")
@Operation(summary = "주정차위반 과태료대장 목록 요청 등록", tags = "b13")
public LntrisB13 create(@Parameter(description = "업무(시스템)코드 + 주정차위반 과태료대장 목록 요청") @RequestBody B13Param b13Params) {
String taskSeCd = b13Params.getTaskSeCd();
LntrisB13.B13ReqDetail req = b13Params.getMsg();
List<LntrisB13> b13s = lntrisBService.createB13s(taskSeCd, List.of(req));
return !b13s.isEmpty() ? b13s.get(0) : null;
}
@Getter
@Setter
public static class B13Param extends JsonParamSupport<LntrisB13.B13ReqDetail> {
private LntrisB13.B13ReqDetail msg;
}
/** .
* @param b13Params
* @return LntrisB13
*/
@PostMapping(name = "주정차위반 과태료대장 목록 요청", value = "/b13")
@Operation(summary = "주정차위반 과태료대장 목록 요청", tags = "b13")
public LntrisB13 getB13(@Parameter(description = "업무(시스템)코드 + 주정차위반 과태료대장 목록 요청") @RequestBody B13Param b13Params) {
String taskSeCd = b13Params.getTaskSeCd();
LntrisB13.B13ReqDetail req = b13Params.getMsg();
List<LntrisB13> b13s = lntrisBService.getB13s(taskSeCd, List.of(req));
return !b13s.isEmpty() ? b13s.get(0) : null;
}
/** .
* @param b14Params
* @return LntrisB14
*/
@PostMapping(name = "주정차위반 과태료대장 상세 요청 등록", value = "/b14/create")
@Operation(summary = "주정차위반 과태료대장 상세 요청 등록", tags = "b14")
public LntrisB14 create(@Parameter(description = "업무(시스템)코드 + 주정차위반 과태료대장 상세 요청") @RequestBody B14Param b14Params) {
String taskSeCd = b14Params.getTaskSeCd();
LntrisB14.B14ReqDetail req = b14Params.getMsg();
List<LntrisB14> b14s = lntrisBService.createB14s(taskSeCd, List.of(req));
return !b14s.isEmpty() ? b14s.get(0) : null;
}
@Getter
@Setter
public static class B14Param extends JsonParamSupport<LntrisB14.B14ReqDetail> {
private LntrisB14.B14ReqDetail msg;
}
/** .
* @param b14Params
* @return LntrisB14
*/
@PostMapping(name = "주정차위반 과태료대장 상세 요청", value = "/b14")
@Operation(summary = "주정차위반 과태료대장 상세 요청", tags = "b14")
public LntrisB14 getB14(@Parameter(description = "업무(시스템)코드 + 주정차위반 과태료대장 상세 요청") @RequestBody B14Param b14Params) {
String taskSeCd = b14Params.getTaskSeCd();
LntrisB14.B14ReqDetail req = b14Params.getMsg();
List<LntrisB14> b14s = lntrisBService.getB14s(taskSeCd, List.of(req));
return !b14s.isEmpty() ? b14s.get(0) : null;
}
/** .
* @param b15Params
* @return LntrisB15
*/
@PostMapping(name = "전용차로위반 과태료 대장 목록 요청 등록", value = "/b15/create")
@Operation(summary = "전용차로위반 과태료 대장 목록 요청 등록", tags = "b15")
public LntrisB15 create(@Parameter(description = "업무(시스템)코드 + 전용차로위반 과태료 대장 목록 요청") @RequestBody B15Param b15Params) {
String taskSeCd = b15Params.getTaskSeCd();
LntrisB15.B15ReqDetail req = b15Params.getMsg();
List<LntrisB15> b15s = lntrisBService.createB15s(taskSeCd, List.of(req));
return !b15s.isEmpty() ? b15s.get(0) : null;
}
@Getter
@Setter
public static class B15Param extends JsonParamSupport<LntrisB15.B15ReqDetail> {
private LntrisB15.B15ReqDetail msg;
}
/** .
* @param b15Params
* @return LntrisB15
*/
@PostMapping(name = "전용차로위반 과태료 대장 목록 요청", value = "/b15")
@Operation(summary = "전용차로위반 과태료 대장 목록 요청", tags = "b15")
public LntrisB15 getB15(@Parameter(description = "업무(시스템)코드 + 전용차로위반 과태료 대장 목록 요청") @RequestBody B15Param b15Params) {
String taskSeCd = b15Params.getTaskSeCd();
LntrisB15.B15ReqDetail req = b15Params.getMsg();
List<LntrisB15> b15s = lntrisBService.getB15s(taskSeCd, List.of(req));
return !b15s.isEmpty() ? b15s.get(0) : null;
}
/** .
* @param b16Params
* @return LntrisB16
*/
@PostMapping(name = "전용차로위반 과태료 대장 상세 요청 등록", value = "/b16/create")
@Operation(summary = "전용차로위반 과태료 대장 상세 요청 등록", tags = "b16")
public LntrisB16 create(@Parameter(description = "업무(시스템)코드 + 전용차로위반 과태료 대장 상세 요청") @RequestBody B16Param b16Params) {
String taskSeCd = b16Params.getTaskSeCd();
LntrisB16.B16ReqDetail req = b16Params.getMsg();
List<LntrisB16> b16s = lntrisBService.createB16s(taskSeCd, List.of(req));
return !b16s.isEmpty() ? b16s.get(0) : null;
}
@Getter
@Setter
public static class B16Param extends JsonParamSupport<LntrisB16.B16ReqDetail> {
private LntrisB16.B16ReqDetail msg;
}
/** .
* @param b16Params
* @return LntrisB16
*/
@PostMapping(name = "전용차로위반 과태료 대장 상세 요청", value = "/b16")
@Operation(summary = "전용차로위반 과태료 대장 상세 요청", tags = "b16")
public LntrisB16 getB16(@Parameter(description = "업무(시스템)코드 + 전용차로위반 과태료 대장 상세 요청") @RequestBody B16Param b16Params) {
String taskSeCd = b16Params.getTaskSeCd();
LntrisB16.B16ReqDetail req = b16Params.getMsg();
List<LntrisB16> b16s = lntrisBService.getB16s(taskSeCd, List.of(req));
return !b16s.isEmpty() ? b16s.get(0) : null;
}
}

@ -0,0 +1,51 @@
{
"dirs": {
"receive": "files/ESB_AGENT/RCV", /* 수신 파일 최상위 디렉토리 */
"send": "files/ESB_AGENT/SND", /* 전송 파일 최상위 디렉토리 */
"working": "files/interface/work", /* 파일 작업 최상위 디렉토리 */
"success": "files/interface/success", /* 작업 완료한 파일의 최상위 디렉토리 */
"fail": "files/interface/fail" /* 작업 실패한 파일의 최상위 디렉토리 */
},
"dirCodes": {
"lntris": "1741000NIS" /* 차세대 지방세외수입 시스템 */
},
"defaults": {
"charset": "euc-kr",
"fetchSize": 100,
"workSize": 100
},
"jobs": [
{ /* 과태료 대장 등록자료 일괄조회(전일자 변동자료) */
"name": "lntrisA02",
"dirCode": "lntris" /* <-- dirCodes */
},
{ /* 부과수납 정보(일배치) */
"name": "lntrisD02",
"dirCode": "lntris" /* <-- dirCodes */
},
{ /* 부과체납 정보(전일자 변동자료) */
"name": "lntrisD07a",
"dirCode": "lntris" /* <-- dirCodes */
},
{ /* 수납정보(전일자 변동자료) */
"name": "lntrisD07b",
"dirCode": "lntris" /* <-- dirCodes */
},
{ /* 감액정보(전일자 변동자료) */
"name": "lntrisD07c",
"dirCode": "lntris" /* <-- dirCodes */
},
{ /* 과오납정보(전일자 변동자료) */
"name": "lntrisD07d",
"dirCode": "lntris" /* <-- dirCodes */
},
{ /* 결손정보(전일자 변동자료) */
"name": "lntrisD07e",
"dirCode": "lntris" /* <-- dirCodes */
}
]
}

@ -0,0 +1,21 @@
{
"useDatabase": false,
"locals": [
{"organization": "4060000",/* 지역 자치단체 코드(7자리) */
/* 지역 시스템 코드(3자리) */
"systems": ["DPV"]
}
],
"remote": {
"organization": "1741000", /* 지방세외수입 기관 코드(7자리) */
"systems": ["NIS"], /* 지방세외수입 시스템 코드(3자리) */
"urls": {
"basic": "https://10.60.75.57:22411/mediate/ltis", /* 연계(개별) 운영 url */
/*"basic": "https://10.60.75.138:22411/mediate/ltis", /* 연계(개별) 검증 url */
"special": "https://10.60.75.57:32411/mediate/ltis" /* 연계(특화) 운영 url */
}
}
}

@ -0,0 +1,13 @@
<?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="cokr.xit.foundation.test.TestMapper">
<insert id="insert" parameterType="map">${sql}</insert>
<update id="update" parameterType="map">${sql}</update>
<delete id="delete" parameterType="map">${sql}</delete>
<update id="commit">COMMIT</update>
</mapper>

@ -0,0 +1,35 @@
<?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="utility">
<!-- For Maria DB -->
<sql id="paging-prefix"><if test="fetchSize != null and fetchSize &gt; 0">
SELECT QROWS.* FROM (
SELECT ROW_NUMBER() OVER(<include refid="utility.sortBy" />) ROW_NUM
, COUNT(*) OVER() TOT_CNT, QBODY.*
FROM (</if></sql>
<sql id="paging-suffix"><if test="fetchSize != null and fetchSize &gt; 0"> ) QBODY
) QROWS
WHERE ROW_NUM BETWEEN ((#{pageNum} - 1) * #{fetchSize}) + 1 AND (#{pageNum} * #{fetchSize})</if></sql>
<select id="foundRows" resultType="dataobject">/* 전체 결과수 가져오기(utility.foundRows) */
SELECT FOUND_ROWS() TOT_CNT</select>
<sql id="sortBy"><if test="orderBy != null and orderBy != ''">ORDER BY ${orderBy}</if></sql>
<sql id="orderBy"><if test="fetchSize == null or fetchSize &lt; 1"><include refid="utility.sortBy" /></if></sql>
<sql id="now">DATE_FORMAT(CURRENT_TIMESTAMP(), '%Y%m%d%H%i%s')</sql>
<sql id="selectNow">SELECT<include refid="utility.now" />NOW</sql>
<sql id="today">DATE_FORMAT(CURRENT_DATE, '%Y%m%d')</sql>
<sql id="selectToday">SELECT<include refid="utility.today" />TODAY</sql>
<sql id="thisDay">IFNULL(#{thisDay},<include refid="utility.today" />)</sql>
<sql id="selectThisDay">SELECT<include refid="utility.thisDay" />THIS_DAY</sql>
</mapper>

@ -0,0 +1,590 @@
<?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="cokr.xit.interfaces.lntris.special.b.dao.LntrisB04_06Mapper">
<!-- 전일자 변동자료 연계 매퍼
========== 변경 이력 ==========
2023-11-01 mjkhan 최초 작성
============================ -->
<resultMap id="b04ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB04"> <!-- 체납자독려정보_요청 -->
<result property="b04Id" column="B04_ID" /> <!-- 일련번호 ID -->
<result property="taskSeCd" column="TASK_SE_CD" /> <!-- 일련번호 ID -->
<result property="request.dmndSeCd" column="DMND_SE_CD" /> <!-- 요청구분코드 -->
<result property="request.sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="request.pyrSeCd" column="PYR_SE_CD" /> <!-- 납부자구분 -->
<result property="request.pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="request.dptCd" column="DPT_CD" /> <!-- 부서코드 -->
<result property="request.spacBizCd" column="SPAC_BIZ_CD" /> <!-- 특별회계사업코드 -->
<result property="request.fyr" column="FYR" /> <!-- 회계연도 -->
<result property="request.actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="request.rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="request.lvyNo" column="LVY_NO" /> <!-- 부과번호 -->
<result property="request.itmSn" column="ITM_SN" /> <!-- 분납일련번호 -->
<result property="request.bgngEcgdYmd" column="BGNG_ECGD_YMD" /> <!-- 시작독려일자 -->
<result property="request.endEcgdYmd" column="END_ECGD_YMD" /> <!-- 종료독려일자 -->
<result property="response.linkRstCd" column="LINK_RST_CD" /> <!-- 연계 결과 코드 -->
<result property="response.linkRstMsg" column="LINK_RST_MSG" /> <!-- 연계 결과 메시지 -->
</resultMap>
<sql id="selectB04Req">SELECT B04_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무구분코드 -->
, DMND_SE_CD <!-- 요청구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, BGNG_ECGD_YMD <!-- 시작독려일자 -->
, END_ECGD_YMD <!-- 종료독려일자 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
FROM TB_NIS_SPCL_B04</sql>
<select id="selectB04Reqs" parameterType="map" resultMap="b04ReqRow">/* 체납자독려정보_요청 조회(lntrisB04_06Mapper.selectB04Reqs) */
<include refid="selectB04Req" />
<where><include refid="cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper.commonCondition"/></where>
ORDER BY B04_ID</select>
<insert id="insertB04Req" parameterType="map">/* 체납자독려정보_요청 등록(lntrisB04_06Mapper.insertB04Req) */
<selectKey keyProperty="b04.b04Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(IFNULL(SUBSTR(MAX(B04_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_SPCL_B04 A, (<include refid="utility.selectToday" />) B
WHERE B04_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_SPCL_B04 (
B04_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무구분코드 -->
, DMND_SE_CD <!-- 요청구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, BGNG_ECGD_YMD <!-- 시작독려일자 -->
, END_ECGD_YMD <!-- 종료독려일자 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{b04.b04Id} <!-- 일련번호 ID -->
, #{b04.taskSeCd} <!-- 업무구분코드 -->
, #{b04.request.dmndSeCd} <!-- 요청구분코드 -->
, #{b04.request.sgbCd} <!-- 지방자치단체코드 -->
, #{b04.request.pyrSeCd} <!-- 납부자구분 -->
, #{b04.request.pyrNo} <!-- 납부자번호 -->
, #{b04.request.dptCd} <!-- 부서코드 -->
, #{b04.request.spacBizCd} <!-- 특별회계사업코드 -->
, #{b04.request.fyr} <!-- 회계연도 -->
, #{b04.request.actSeCd} <!-- 회계구분코드 -->
, #{b04.request.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{b04.request.lvyNo} <!-- 부과번호 -->
, #{b04.request.itmSn} <!-- 분납일련번호 -->
, #{b04.request.bgngEcgdYmd} <!-- 시작독려일자 -->
, #{b04.request.endEcgdYmd} <!-- 종료독려일자 -->
, #{b04.response.linkRstCd} <!-- 연계 결과 코드 -->
, #{b04.response.linkRstMsg} <!-- 연계 결과 메시지 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
<update id="updateB04ReqStatus" parameterType="map">/* 체납자독려정보_요청 연계상태 수정(lntrisB04_06Mapper.updateB04ReqStatus) */
UPDATE TB_NIS_SPCL_B04 A
, (<foreach collection="b04s" item="b04" separator=" UNION">
SELECT #{b04.b04Id} B04_ID, #{b04.response.linkRstCd} LINK_RST_CD, #{b04.response.linkRstMsg} LINK_RST_MSG</foreach>
) B
SET A.LINK_RST_CD = B.LINK_RST_CD
, A.LINK_RST_MSG = B.LINK_RST_MSG
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE A.B04_ID = B.B04_ID</update>
<resultMap id="b04RespRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB04$B04RespDetail"> <!-- 체납자독려정보_응답 -->
<result property="b04Id" column="B04_ID" /> <!-- 일련번호 ID -->
<result property="b04Sn" column="B04_SN" /> <!-- 일련번호 -->
<result property="sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="lvyKey" column="LVY_KEY" /> <!-- 부과키 -->
<result property="sn" column="SN" /> <!-- 순번 -->
<result property="dptNm" column="DPT_NM" /> <!-- 부서명 -->
<result property="actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="rprsTxmNm" column="RPRS_TXM_NM" /> <!-- 대표세입과목명 -->
<result property="pyrNm" column="PYR_NM" /> <!-- 납부자명 -->
<result property="pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="pyrMngNo" column="PYR_MNG_NO" /> <!-- 납부자관리번호 -->
<result property="ecgdYmd" column="ECGD_YMD" /> <!-- 독려일자 -->
<result property="payPrmYmd" column="PAY_PRM_YMD" /> <!-- 납부약속일자 -->
<result property="ecgdSeNm" column="ECGD_SE_NM" /> <!-- 독려구분 -->
<result property="ecgdBd" column="ECGD_BD" /> <!-- 독려내역 -->
<result property="crtorId" column="CRTOR_ID" /> <!-- 생성자ID -->
<result property="mdfrId" column="MDFR_ID" /> <!-- 수정자ID -->
</resultMap>
<sql id="selectB04Resp">SELECT B04_ID <!-- 일련번호 ID -->
, B04_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, LVY_KEY <!-- 부과키 -->
, SN <!-- 순번 -->
, DPT_NM <!-- 부서명 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, RPRS_TXM_NM <!-- 대표세입과목명 -->
, PYR_NM <!-- 납부자명 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_MNG_NO <!-- 납부자관리번호 -->
, ECGD_YMD <!-- 독려일자 -->
, PAY_PRM_YMD <!-- 납부약속일자 -->
, ECGD_SE_NM <!-- 독려구분 -->
, ECGD_BD <!-- 독려내역 -->
, CRTOR_ID <!-- 생성자ID -->
, MDFR_ID <!-- 수정자ID -->
FROM TB_NIS_SPCL_B04RV</sql>
<select id="selectB04Resps" parameterType="map" resultMap="b04RespRow">/* 체납자독려정보_응답 객체 가져오기(lntrisB04_06Mapper.selectB04Resps) */
<include refid="selectB04Resp" />
<where><if test="b04Ids == null"> AND SGB_CD = #{sgbCd}
AND DPT_CD = #{dptCd}
AND RPRS_TXM_CD = #{rprsTxmCd}</if>
<if test="b04Ids != null"> AND B04_ID IN (<foreach collection="b04Ids" item="b04Id" separator=",">#{b04Id}</foreach>)</if></where>
ORDER BY B04_ID, B04_SN</select>
<insert id="insertB04Resps" parameterType="map">/* 체납자독려정보_응답 등록(lntrisB04_06Mapper.insertB04Resps) */
INSERT INTO TB_NIS_SPCL_B04RV (
B04_ID <!-- 일련번호 ID -->
, B04_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, LVY_KEY <!-- 부과키 -->
, SN <!-- 순번 -->
, DPT_NM <!-- 부서명 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, RPRS_TXM_NM <!-- 대표세입과목명 -->
, PYR_NM <!-- 납부자명 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_MNG_NO <!-- 납부자관리번호 -->
, ECGD_YMD <!-- 독려일자 -->
, PAY_PRM_YMD <!-- 납부약속일자 -->
, ECGD_SE_NM <!-- 독려구분 -->
, ECGD_BD <!-- 독려내역 -->
, CRTOR_ID <!-- 생성자ID -->
, MDFR_ID <!-- 수정자ID -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b04Id} <!-- 일련번호 ID -->
, #{resp.b04Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 지방자치단체코드 -->
, #{resp.lvyKey} <!-- 부과키 -->
, #{resp.sn} <!-- 순번 -->
, #{resp.dptNm} <!-- 부서명 -->
, #{resp.actSeCd} <!-- 회계구분코드 -->
, #{resp.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{resp.rprsTxmNm} <!-- 대표세입과목명 -->
, #{resp.pyrNm} <!-- 납부자명 -->
, #{resp.pyrNo} <!-- 납부자번호 -->
, #{resp.pyrMngNo} <!-- 납부자관리번호 -->
, #{resp.ecgdYmd} <!-- 독려일자 -->
, #{resp.payPrmYmd} <!-- 납부약속일자 -->
, #{resp.ecgdSeNm} <!-- 독려구분 -->
, #{resp.ecgdBd} <!-- 독려내역 -->
, #{resp.crtorId} <!-- 생성자ID -->
, #{resp.mdfrId} <!-- 수정자ID -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
</foreach></insert>
<resultMap id="b05ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB05"> <!-- 압류정보_요청 -->
<result property="b05Id" column="B05_ID" /> <!-- 일련번호 ID -->
<result property="taskSeCd" column="TASK_SE_CD" /> <!-- 일련번호 ID -->
<result property="request.sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="request.pyrSeCd" column="PYR_SE_CD" /> <!-- 납부자구분 -->
<result property="request.pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="response.linkRstCd" column="LINK_RST_CD" /> <!-- 연계 결과 코드 -->
<result property="response.linkRstMsg" column="LINK_RST_MSG" /> <!-- 연계 결과 메시지 -->
</resultMap>
<sql id="selectB05Req">SELECT B05_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
FROM TB_NIS_SPCL_B05</sql>
<select id="selectB05Reqs" parameterType="map" resultMap="b05ReqRow">/* 압류정보_요청 조회(lntrisB04_06Mapper.selectB05Reqs) */
<include refid="selectB05Req" />
<where><include refid="cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper.commonCondition"/></where>
ORDER BY B05_ID</select>
<insert id="insertB05Req" parameterType="map">/* 압류정보_요청 등록(lntrisB04_06Mapper.insertB05Req) */
<selectKey keyProperty="b05.b05Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(IFNULL(SUBSTR(MAX(B05_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_SPCL_B05 A, (<include refid="utility.selectToday" />) B
WHERE B05_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_SPCL_B05 (
B05_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{b05.b05Id} <!-- 일련번호 ID -->
, #{b05.taskSeCd} <!-- 업무구분코드 -->
, #{b05.request.sgbCd} <!-- 지방자치단체코드 -->
, #{b05.request.pyrSeCd} <!-- 납부자구분 -->
, #{b05.request.pyrNo} <!-- 납부자번호 -->
, #{b05.response.linkRstCd} <!-- 연계 결과 코드 -->
, #{b05.response.linkRstMsg} <!-- 연계 결과 메시지 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
<update id="updateB05ReqStatus" parameterType="map">/* 압류정보_요청 연계상태 수정(lntrisB04_06Mapper.updateB05ReqStatus) */
UPDATE TB_NIS_SPCL_B05 A
, (<foreach collection="b05s" item="b05" separator=" UNION">
SELECT #{b05.b05Id} B05_ID, #{b05.response.linkRstCd} LINK_RST_CD, #{b05.response.linkRstMsg} LINK_RST_MSG</foreach>
) B
SET A.LINK_RST_CD = B.LINK_RST_CD
, A.LINK_RST_MSG = B.LINK_RST_MSG
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE A.B05_ID = B.B05_ID</update>
<resultMap id="b05RespRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB05$B05RespDetail"> <!-- 압류정보_응답 -->
<result property="b05Id" column="B05_ID" /> <!-- 일련번호 ID -->
<result property="b05Sn" column="B05_SN" /> <!-- 일련번호 -->
<result property="sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="pyrNm" column="PYR_NM" /> <!-- 납부자명 -->
<result property="pyrZip" column="PYR_ZIP" /> <!-- 납부자우편번호 -->
<result property="pyrAddr" column="PYR_ADDR" /> <!-- 납부자주소 -->
<result property="pyrTelno" column="PYR_TELNO" /> <!-- 납부자전화번호 -->
<result property="pyrMblTelno" column="PYR_MBL_TELNO" /> <!-- 납부자휴대폰번호 -->
<result property="dptCd" column="DPT_CD" /> <!-- 부서코드 -->
<result property="spacBizCd" column="SPAC_BIZ_CD" /> <!-- 특별회계사업코드 -->
<result property="fyr" column="FYR" /> <!-- 회계연도 -->
<result property="actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="lvyNo" column="LVY_NO" /> <!-- 부과번호 -->
<result property="itmSn" column="ITM_SN" /> <!-- 분납일련번호 -->
<result property="rprsTxmNm" column="RPRS_TXM_NM" /> <!-- 대표세입과목명 -->
<result property="szrThgSeNm" column="SZR_THG_SE_NM" /> <!-- 압류물건구분명 -->
<result property="szrThgNm" column="SZR_THG_NM" /> <!-- 압류물건명 -->
<result property="szrYmd" column="SZR_YMD" /> <!-- 압류일자 -->
<result property="szrSeNm" column="SZR_SE_NM" /> <!-- 압류구분명 -->
<result property="szrRmvYmd" column="SZR_RMV_YMD" /> <!-- 압류해제일자 -->
<result property="szrRmvRsnNm" column="SZR_RMV_RSN_NM" /> <!-- 압류해제사유명 -->
<result property="gnshSeCd" column="GNSH_SE_CD" /> <!-- 제3채무자구분코드 -->
<result property="arrPctAmt" column="ARR_PCT_AMT" /> <!-- 체납본세금액 -->
<result property="arrAdtnAmt" column="ARR_ADTN_AMT" /> <!-- 체납가산금액 -->
<result property="rgsofCd" column="RGSOF_CD" /> <!-- 등기소코드 -->
<result property="curtCd" column="CURT_CD" /> <!-- 법원코드 -->
<result property="curtNm" column="CURT_NM" /> <!-- 법원명 -->
<result property="szrKey" column="SZR_KEY" /> <!-- 압류키 -->
<result property="dptNm" column="DPT_NM" /> <!-- 부서명 -->
<result property="carSzrMngNo" column="CAR_SZR_MNG_NO" /> <!-- 자동차압류관리번호 -->
<result property="glMngNo" column="GL_MNG_NO" /> <!-- 물건지관리번호 -->
<result property="glLotnoRoadAddrSeCd" column="GL_LOTNO_ROAD_ADDR_SE_CD" /> <!-- 물건지지번도로주소구분코드 -->
</resultMap>
<sql id="selectB05Resp">SELECT B05_ID <!-- 일련번호 ID -->
, B05_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, PYR_ZIP <!-- 납부자우편번호 -->
, PYR_ADDR <!-- 납부자주소 -->
, PYR_TELNO <!-- 납부자전화번호 -->
, PYR_MBL_TELNO <!-- 납부자휴대폰번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, RPRS_TXM_NM <!-- 대표세입과목명 -->
, SZR_THG_SE_NM <!-- 압류물건구분명 -->
, SZR_THG_NM <!-- 압류물건명 -->
, SZR_YMD <!-- 압류일자 -->
, SZR_SE_NM <!-- 압류구분명 -->
, SZR_RMV_YMD <!-- 압류해제일자 -->
, SZR_RMV_RSN_NM <!-- 압류해제사유명 -->
, GNSH_SE_CD <!-- 제3채무자구분코드 -->
, ARR_PCT_AMT <!-- 체납본세금액 -->
, ARR_ADTN_AMT <!-- 체납가산금액 -->
, RGSOF_CD <!-- 등기소코드 -->
, CURT_CD <!-- 법원코드 -->
, CURT_NM <!-- 법원명 -->
, SZR_KEY <!-- 압류키 -->
, DPT_NM <!-- 부서명 -->
, CAR_SZR_MNG_NO <!-- 자동차압류관리번호 -->
, GL_MNG_NO <!-- 물건지관리번호 -->
, GL_LOTNO_ROAD_ADDR_SE_CD <!-- 물건지지번도로주소구분코드 -->
FROM TB_NIS_SPCL_B05RV</sql>
<select id="selectB05Resps" parameterType="map" resultMap="b05RespRow">/* 압류정보_응답 객체 가져오기(lntrisB04_06Mapper.selectB05Resps) */
<include refid="selectB05Resp" />
<where><if test="b05Ids == null"> AND SGB_CD = #{sgbCd}
AND DPT_CD = #{dptCd}
AND RPRS_TXM_CD = #{rprsTxmCd}</if>
<if test="b05Ids != null"> AND B05_ID IN (<foreach collection="b05Ids" item="b05Id" separator=",">#{b05Id}</foreach>)</if></where>
ORDER BY B05_ID, B05_SN</select>
<insert id="insertB05Resps" parameterType="map">/* 압류정보_응답 등록(lntrisB04_06Mapper.insertB05Resps) */
INSERT INTO TB_NIS_SPCL_B05RV (
B05_ID <!-- 일련번호 ID -->
, B05_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, PYR_ZIP <!-- 납부자우편번호 -->
, PYR_ADDR <!-- 납부자주소 -->
, PYR_TELNO <!-- 납부자전화번호 -->
, PYR_MBL_TELNO <!-- 납부자휴대폰번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, RPRS_TXM_NM <!-- 대표세입과목명 -->
, SZR_THG_SE_NM <!-- 압류물건구분명 -->
, SZR_THG_NM <!-- 압류물건명 -->
, SZR_YMD <!-- 압류일자 -->
, SZR_SE_NM <!-- 압류구분명 -->
, SZR_RMV_YMD <!-- 압류해제일자 -->
, SZR_RMV_RSN_NM <!-- 압류해제사유명 -->
, GNSH_SE_CD <!-- 제3채무자구분코드 -->
, ARR_PCT_AMT <!-- 체납본세금액 -->
, ARR_ADTN_AMT <!-- 체납가산금액 -->
, RGSOF_CD <!-- 등기소코드 -->
, CURT_CD <!-- 법원코드 -->
, CURT_NM <!-- 법원명 -->
, SZR_KEY <!-- 압류키 -->
, DPT_NM <!-- 부서명 -->
, CAR_SZR_MNG_NO <!-- 자동차압류관리번호 -->
, GL_MNG_NO <!-- 물건지관리번호 -->
, GL_LOTNO_ROAD_ADDR_SE_CD <!-- 물건지지번도로주소구분코드 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b05Id} <!-- 일련번호 ID -->
, #{resp.b05Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 지방자치단체코드 -->
, #{resp.pyrNo} <!-- 납부자번호 -->
, #{resp.pyrNm} <!-- 납부자명 -->
, #{resp.pyrZip} <!-- 납부자우편번호 -->
, #{resp.pyrAddr} <!-- 납부자주소 -->
, #{resp.pyrTelno} <!-- 납부자전화번호 -->
, #{resp.pyrMblTelno} <!-- 납부자휴대폰번호 -->
, #{resp.dptCd} <!-- 부서코드 -->
, #{resp.spacBizCd} <!-- 특별회계사업코드 -->
, #{resp.fyr} <!-- 회계연도 -->
, #{resp.actSeCd} <!-- 회계구분코드 -->
, #{resp.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{resp.lvyNo} <!-- 부과번호 -->
, #{resp.itmSn} <!-- 분납일련번호 -->
, #{resp.rprsTxmNm} <!-- 대표세입과목명 -->
, #{resp.szrThgSeNm} <!-- 압류물건구분명 -->
, #{resp.szrThgNm} <!-- 압류물건명 -->
, #{resp.szrYmd} <!-- 압류일자 -->
, #{resp.szrSeNm} <!-- 압류구분명 -->
, #{resp.szrRmvYmd} <!-- 압류해제일자 -->
, #{resp.szrRmvRsnNm} <!-- 압류해제사유명 -->
, #{resp.gnshSeCd} <!-- 제3채무자구분코드 -->
, #{resp.arrPctAmt} <!-- 체납본세금액 -->
, #{resp.arrAdtnAmt} <!-- 체납가산금액 -->
, #{resp.rgsofCd} <!-- 등기소코드 -->
, #{resp.curtCd} <!-- 법원코드 -->
, #{resp.curtNm} <!-- 법원명 -->
, #{resp.szrKey} <!-- 압류키 -->
, #{resp.dptNm} <!-- 부서명 -->
, #{resp.carSzrMngNo} <!-- 자동차압류관리번호 -->
, #{resp.glMngNo} <!-- 물건지관리번호 -->
, #{resp.glLotnoRoadAddrSeCd} <!-- 물건지지번도로주소구분코드 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
</foreach></insert>
<resultMap id="b06ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB06"> <!-- 압류시점 체납정보_요청 -->
<result property="b06Id" column="B06_ID" /> <!-- 일련번호 ID -->
<result property="taskSeCd" column="TASK_SE_CD" /> <!-- 일련번호 ID -->
<result property="request.sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="request.pyrSeCd" column="PYR_SE_CD" /> <!-- 납부자구분 -->
<result property="request.pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="response.linkRstCd" column="LINK_RST_CD" /> <!-- 연계 결과 코드 -->
<result property="response.linkRstMsg" column="LINK_RST_MSG" /> <!-- 연계 결과 메시지 -->
</resultMap>
<sql id="selectB06Req">SELECT B06_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
FROM TB_NIS_SPCL_B06</sql>
<select id="selectB06Reqs" parameterType="map" resultMap="b06ReqRow">/* 압류시점 체납정보_요청 조회(lntrisB04_06Mapper.selectB06Reqs) */
<include refid="selectB06Req" />
<where><include refid="cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper.commonCondition"/></where>
ORDER BY B06_ID</select>
<insert id="insertB06Req" parameterType="map">/* 압류시점 체납정보_요청 등록(lntrisB04_06Mapper.insertB06Req) */
<selectKey keyProperty="b06.b06Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(IFNULL(SUBSTR(MAX(B06_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_SPCL_B06 A, (<include refid="utility.selectToday" />) B
WHERE B06_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_SPCL_B06 (
B06_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{b06.b06Id} <!-- 일련번호 ID -->
, #{b06.taskSeCd} <!-- 업무구분코드 -->
, #{b06.request.sgbCd} <!-- 지방자치단체코드 -->
, #{b06.request.pyrSeCd} <!-- 납부자구분 -->
, #{b06.request.pyrNo} <!-- 납부자번호 -->
, #{b06.response.linkRstCd} <!-- 연계 결과 코드 -->
, #{b06.response.linkRstMsg} <!-- 연계 결과 메시지 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
<update id="updateB06ReqStatus" parameterType="map">/* 압류시점 체납정보_요청 연계상태 수정(lntrisB04_06Mapper.updateB06ReqStatus) */
UPDATE TB_NIS_SPCL_B06 A
, (<foreach collection="b06s" item="b06" separator=" UNION">
SELECT #{b06.b06Id} B06_ID, #{b06.response.linkRstCd} LINK_RST_CD, #{b06.response.linkRstMsg} LINK_RST_MSG</foreach>
) B
SET A.LINK_RST_CD = B.LINK_RST_CD
, A.LINK_RST_MSG = B.LINK_RST_MSG
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE A.B06_ID = B.B06_ID</update>
<resultMap id="b06RespRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB06$B06RespDetail"> <!-- 압류시점 체납정보_응답 -->
<result property="b06Id" column="B06_ID" /> <!-- 일련번호 ID -->
<result property="b06Sn" column="B06_SN" /> <!-- 일련번호 -->
<result property="sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="pyrNm" column="PYR_NM" /> <!-- 납부자명 -->
<result property="dptCd" column="DPT_CD" /> <!-- 부서코드 -->
<result property="spacBizCd" column="SPAC_BIZ_CD" /> <!-- 특별회계사업코드 -->
<result property="fyr" column="FYR" /> <!-- 회계연도 -->
<result property="actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="lvyNo" column="LVY_NO" /> <!-- 부과번호 -->
<result property="itmSn" column="ITM_SN" /> <!-- 분납일련번호 -->
<result property="arrPctAmt" column="ARR_PCT_AMT" /> <!-- 체납본세금액 -->
<result property="arrAdtnAmt" column="ARR_ADTN_AMT" /> <!-- 체납가산금액 -->
</resultMap>
<sql id="selectB06Resp">SELECT B06_ID <!-- 일련번호 ID -->
, B06_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, ARR_PCT_AMT <!-- 체납본세금액 -->
, ARR_ADTN_AMT <!-- 체납가산금액 -->
FROM TB_NIS_SPCL_B06RV</sql>
<select id="selectB06Resps" parameterType="map" resultMap="b06RespRow">/* 압류시점 체납정보_응답 객체 가져오기(lntrisB04_06Mapper.selectB06Resps) */
<include refid="selectB06Resp" />
<where><if test="b06Ids == null"> AND SGB_CD = #{sgbCd}
AND DPT_CD = #{dptCd}
AND RPRS_TXM_CD = #{rprsTxmCd}</if>
<if test="b06Ids != null"> AND B06_ID IN (<foreach collection="b06Ids" item="b06Id" separator=",">#{b06Id}</foreach>)</if></where>
ORDER BY B06_ID, B06_SN</select>
<insert id="insertB06Resps" parameterType="map">/* 압류시점 체납정보_응답 등록(lntrisB04_06Mapper.insertB06Resps) */
INSERT INTO TB_NIS_SPCL_B06RV (
B06_ID <!-- 일련번호 ID -->
, B06_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, ARR_PCT_AMT <!-- 체납본세금액 -->
, ARR_ADTN_AMT <!-- 체납가산금액 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b06Id} <!-- 일련번호 ID -->
, #{resp.b06Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 지방자치단체코드 -->
, #{resp.pyrNo} <!-- 납부자번호 -->
, #{resp.pyrNm} <!-- 납부자명 -->
, #{resp.dptCd} <!-- 부서코드 -->
, #{resp.spacBizCd} <!-- 특별회계사업코드 -->
, #{resp.fyr} <!-- 회계연도 -->
, #{resp.actSeCd} <!-- 회계구분코드 -->
, #{resp.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{resp.lvyNo} <!-- 부과번호 -->
, #{resp.itmSn} <!-- 분납일련번호 -->
, #{resp.arrPctAmt} <!-- 체납본세금액 -->
, #{resp.arrAdtnAmt} <!-- 체납가산금액 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
</foreach></insert>
</mapper>

@ -0,0 +1,608 @@
<?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="cokr.xit.interfaces.lntris.special.b.dao.LntrisB07_09Mapper">
<!-- 전일자 변동자료 연계 매퍼
========== 변경 이력 ==========
2023-11-01 mjkhan 최초 작성
============================ -->
<resultMap id="b07ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB07"> <!-- 과오납 상세정보 요청 -->
<result property="b07Id" column="B07_ID" /> <!-- 일련번호 ID -->
<result property="taskSeCd" column="TASK_SE_CD" /> <!-- 업무 구분 코드 -->
<result property="request.dmndSeCd" column="DMND_SE_CD" /> <!-- 요청구분코드 -->
<result property="request.sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="request.pyrSeCd" column="PYR_SE_CD" /> <!-- 납부자구분 -->
<result property="request.pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="request.dptCd" column="DPT_CD" /> <!-- 부서코드 -->
<result property="request.spacBizCd" column="SPAC_BIZ_CD" /> <!-- 특별회계사업코드 -->
<result property="request.fyr" column="FYR" /> <!-- 회계연도 -->
<result property="request.actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="request.rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="request.lvyNo" column="LVY_NO" /> <!-- 부과번호 -->
<result property="request.itmSn" column="ITM_SN" /> <!-- 분납일련번호 -->
<result property="response.linkRstCd" column="LINK_RST_CD" /> <!-- 연계 결과 코드 -->
<result property="response.linkRstMsg" column="LINK_RST_MSG" /> <!-- 연계 결과 메시지 -->
</resultMap>
<sql id="selectB07Req">SELECT B07_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무 구분 코드 -->
, DMND_SE_CD <!-- 요청구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
FROM TB_NIS_SPCL_B07</sql>
<select id="selectB07Reqs" parameterType="map" resultMap="b07ReqRow">/* 과오납 상세정보 요청 조회(lntrisB07_09Mapper.selectB07Reqs) */
<include refid="selectB07Req" />
<where><include refid="cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper.commonCondition"/></where>
ORDER BY B07_ID</select>
<insert id="insertB07Req" parameterType="map">/* 과오납 상세정보 요청 등록(lntrisB07_09Mapper.insertB07Req) */
<selectKey keyProperty="b07.b07Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(IFNULL(SUBSTR(MAX(B07_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_SPCL_B07 A, (<include refid="utility.selectToday" />) B
WHERE B07_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_SPCL_B07 (
B07_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무 구분 코드 -->
, DMND_SE_CD <!-- 요청구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{b07.b07Id} <!-- 일련번호 ID -->
, #{b07.taskSeCd} <!-- 업무 구분 코드 -->
, #{b07.request.dmndSeCd} <!-- 요청구분코드 -->
, #{b07.request.sgbCd} <!-- 지방자치단체코드 -->
, #{b07.request.pyrSeCd} <!-- 납부자구분 -->
, #{b07.request.pyrNo} <!-- 납부자번호 -->
, #{b07.request.dptCd} <!-- 부서코드 -->
, #{b07.request.spacBizCd} <!-- 특별회계사업코드 -->
, #{b07.request.fyr} <!-- 회계연도 -->
, #{b07.request.actSeCd} <!-- 회계구분코드 -->
, #{b07.request.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{b07.request.lvyNo} <!-- 부과번호 -->
, #{b07.request.itmSn} <!-- 분납일련번호 -->
, #{b07.response.linkRstCd} <!-- 연계 결과 코드 -->
, #{b07.response.linkRstMsg} <!-- 연계 결과 메시지 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
<update id="updateB07ReqStatus" parameterType="map">/* 과오납 상세정보 요청 연계상태 수정(lntrisB07_09Mapper.updateB07ReqStatus) */
UPDATE TB_NIS_SPCL_B07 A
, (<foreach collection="b07s" item="b07" separator=" UNION">
SELECT #{b07.b07Id} B07_ID, #{b07.response.linkRstCd} LINK_RST_CD, #{b07.response.linkRstMsg} LINK_RST_MSG</foreach>
) B
SET A.LINK_RST_CD = B.LINK_RST_CD
, A.LINK_RST_MSG = B.LINK_RST_MSG
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE A.B07_ID = B.B07_ID</update>
<resultMap id="b07RespRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB07$B07RespDetail"> <!-- 과오납 상세정보 응답 -->
<result property="b07Id" column="B07_ID" /> <!-- 일련번호 ID -->
<result property="b07Sn" column="B07_SN" /> <!-- 일련번호 -->
<result property="sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="dptCd" column="DPT_CD" /> <!-- 부서코드 -->
<result property="fyr" column="FYR" /> <!-- 회계연도 -->
<result property="actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="lvyNo" column="LVY_NO" /> <!-- 부과번호 -->
<result property="itmSn" column="ITM_SN" /> <!-- 분납일련번호 -->
<result property="lvyKey" column="LVY_KEY" /> <!-- 부과키 -->
<result property="lvyYmd" column="LVY_YMD" /> <!-- 부과일자 -->
<result property="dptNm" column="DPT_NM" /> <!-- 부서명 -->
<result property="rprsTxmNm" column="RPRS_TXM_NM" /> <!-- 대표세입과목명 -->
<result property="frstPctAmt" column="FRST_PCT_AMT" /> <!-- 최초부과금액 -->
<result property="lastPctAmt" column="LAST_PCT_AMT" /> <!-- 최종본세 -->
<result property="gvbkAmt" column="GVBK_AMT" /> <!-- 반환금액 -->
<result property="ovpntYmd" column="OVPNT_YMD" /> <!-- 과오납일자 -->
<result property="gvbkPrcsYmd" column="GVBK_PRCS_YMD" /> <!-- 반환처리일자 -->
<result property="glNm" column="GL_NM" /> <!-- 물건지명 -->
<result property="pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="pyrNm" column="PYR_NM" /> <!-- 납부자명 -->
<result property="pyrMblCnpcNo" column="PYR_MBL_CNPC_NO" /> <!-- 휴대폰번호 -->
<result property="actno" column="ACTNO" /> <!-- 계좌번호 -->
<result property="gvbkBankNm" column="GVBK_BANK_NM" /> <!-- 반환은행명 -->
<result property="gvbkYn" column="GVBK_YN" /> <!-- 반환여부 -->
<result property="gvbkRsnCd" column="GVBK_RSN_CD" /> <!-- 반환사유코드 -->
<result property="gvbkRsnNm" column="GVBK_RSN_NM" /> <!-- 과오납사유명 -->
<result property="glLotnoRoadAddrSeCd" column="GL_LOTNO_ROAD_ADDR_SE_CD" /> <!-- 물건지지번도로주소구분코드 -->
<result property="glMngNo" column="GL_MNG_NO" /> <!-- 물건지관리번호 -->
</resultMap>
<sql id="selectB07Resp">SELECT B07_ID <!-- 일련번호 ID -->
, B07_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, DPT_CD <!-- 부서코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, LVY_KEY <!-- 부과키 -->
, LVY_YMD <!-- 부과일자 -->
, DPT_NM <!-- 부서명 -->
, RPRS_TXM_NM <!-- 대표세입과목명 -->
, FRST_PCT_AMT <!-- 최초부과금액 -->
, LAST_PCT_AMT <!-- 최종본세 -->
, GVBK_AMT <!-- 반환금액 -->
, OVPNT_YMD <!-- 과오납일자 -->
, GVBK_PRCS_YMD <!-- 반환처리일자 -->
, GL_NM <!-- 물건지명 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, PYR_MBL_CNPC_NO <!-- 휴대폰번호 -->
, ACTNO <!-- 계좌번호 -->
, GVBK_BANK_NM <!-- 반환은행명 -->
, GVBK_YN <!-- 반환여부 -->
, GVBK_RSN_CD <!-- 반환사유코드 -->
, GVBK_RSN_NM <!-- 과오납사유명 -->
, GL_LOTNO_ROAD_ADDR_SE_CD <!-- 물건지지번도로주소구분코드 -->
, GL_MNG_NO <!-- 물건지관리번호 -->
FROM TB_NIS_SPCL_B07RV</sql>
<select id="selectB07Resps" parameterType="map" resultMap="b07RespRow">/* 과오납 상세정보 응답 객체 가져오기(lntrisB07_09Mapper.selectB07Resps) */
<include refid="selectB07Resp" />
<where><if test="b07Ids == null"> AND SGB_CD = #{sgbCd}
AND DPT_CD = #{dptCd}
AND RPRS_TXM_CD = #{rprsTxmCd}</if>
<if test="b07Ids != null"> AND B07_ID IN (<foreach collection="b07Ids" item="b07Id" separator=",">#{b07Id}</foreach>)</if></where>
ORDER BY B07_ID, B07_SN</select>
<insert id="insertB07Resps" parameterType="map">/* 과오납 상세정보 응답 등록(lntrisB07_09Mapper.insertB07Resps) */
INSERT INTO TB_NIS_SPCL_B07RV (
B07_ID <!-- 일련번호 ID -->
, B07_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, DPT_CD <!-- 부서코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, LVY_KEY <!-- 부과키 -->
, LVY_YMD <!-- 부과일자 -->
, DPT_NM <!-- 부서명 -->
, RPRS_TXM_NM <!-- 대표세입과목명 -->
, FRST_PCT_AMT <!-- 최초부과금액 -->
, LAST_PCT_AMT <!-- 최종본세 -->
, GVBK_AMT <!-- 반환금액 -->
, OVPNT_YMD <!-- 과오납일자 -->
, GVBK_PRCS_YMD <!-- 반환처리일자 -->
, GL_NM <!-- 물건지명 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, PYR_MBL_CNPC_NO <!-- 휴대폰번호 -->
, ACTNO <!-- 계좌번호 -->
, GVBK_BANK_NM <!-- 반환은행명 -->
, GVBK_YN <!-- 반환여부 -->
, GVBK_RSN_CD <!-- 반환사유코드 -->
, GVBK_RSN_NM <!-- 과오납사유명 -->
, GL_LOTNO_ROAD_ADDR_SE_CD <!-- 물건지지번도로주소구분코드 -->
, GL_MNG_NO <!-- 물건지관리번호 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b07Id} <!-- 일련번호 ID -->
, #{resp.b07Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 지방자치단체코드 -->
, #{resp.dptCd} <!-- 부서코드 -->
, #{resp.fyr} <!-- 회계연도 -->
, #{resp.actSeCd} <!-- 회계구분코드 -->
, #{resp.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{resp.lvyNo} <!-- 부과번호 -->
, #{resp.itmSn} <!-- 분납일련번호 -->
, #{resp.lvyKey} <!-- 부과키 -->
, #{resp.lvyYmd} <!-- 부과일자 -->
, #{resp.dptNm} <!-- 부서명 -->
, #{resp.rprsTxmNm} <!-- 대표세입과목명 -->
, #{resp.frstPctAmt} <!-- 최초부과금액 -->
, #{resp.lastPctAmt} <!-- 최종본세 -->
, #{resp.gvbkAmt} <!-- 반환금액 -->
, #{resp.ovpntYmd} <!-- 과오납일자 -->
, #{resp.gvbkPrcsYmd} <!-- 반환처리일자 -->
, #{resp.glNm} <!-- 물건지명 -->
, #{resp.pyrNo} <!-- 납부자번호 -->
, #{resp.pyrNm} <!-- 납부자명 -->
, #{resp.pyrMblCnpcNo} <!-- 휴대폰번호 -->
, #{resp.actno} <!-- 계좌번호 -->
, #{resp.gvbkBankNm} <!-- 반환은행명 -->
, #{resp.gvbkYn} <!-- 반환여부 -->
, #{resp.gvbkRsnCd} <!-- 반환사유코드 -->
, #{resp.gvbkRsnNm} <!-- 과오납사유명 -->
, #{resp.glLotnoRoadAddrSeCd} <!-- 물건지지번도로주소구분코드 -->
, #{resp.glMngNo} <!-- 물건지관리번호 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
</foreach></insert>
<resultMap id="b08ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB08"> <!-- 영치정보 요청 -->
<result property="b08Id" column="B08_ID" /> <!-- 일련번호 ID -->
<result property="taskSeCd" column="TASK_SE_CD" /> <!-- 업무 구분 코드 -->
<result property="request.sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="request.pyrSeCd" column="PYR_SE_CD" /> <!-- 납부자구분 -->
<result property="request.pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="response.linkRstCd" column="LINK_RST_CD" /> <!-- 연계 결과 코드 -->
<result property="response.linkRstMsg" column="LINK_RST_MSG" /> <!-- 연계 결과 메시지 -->
</resultMap>
<sql id="selectB08Req">SELECT B08_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무 구분 코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
FROM TB_NIS_SPCL_B08</sql>
<select id="selectB08Reqs" parameterType="map" resultMap="b08ReqRow">/* 영치정보 요청 조회(lntrisB07_09Mapper.selectB08Reqs) */
<include refid="selectB08Req" />
<where><include refid="cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper.commonCondition"/></where>
ORDER BY B08_ID</select>
<insert id="insertB08Req" parameterType="map">/* 영치정보 요청 등록(lntrisB07_09Mapper.insertB08Req) */
<selectKey keyProperty="b08.b08Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(IFNULL(SUBSTR(MAX(B08_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_SPCL_B08 A, (<include refid="utility.selectToday" />) B
WHERE B08_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_SPCL_B08 (
B08_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무 구분 코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{b08.b08Id} <!-- 일련번호 ID -->
, #{b08.taskSeCd} <!-- 업무 구분 코드 -->
, #{b08.request.sgbCd} <!-- 지방자치단체코드 -->
, #{b08.request.pyrSeCd} <!-- 납부자구분 -->
, #{b08.request.pyrNo} <!-- 납부자번호 -->
, #{b08.response.linkRstCd} <!-- 연계 결과 코드 -->
, #{b08.response.linkRstMsg} <!-- 연계 결과 메시지 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
<update id="updateB08ReqStatus" parameterType="map">/* 영치정보 요청 연계상태 수정(lntrisB07_09Mapper.updateB08ReqStatus) */
UPDATE TB_NIS_SPCL_B08 A
, (<foreach collection="b08s" item="b08" separator=" UNION">
SELECT #{b08.b08Id} B08_ID, #{b08.response.linkRstCd} LINK_RST_CD, #{b08.response.linkRstMsg} LINK_RST_MSG</foreach>
) B
SET A.LINK_RST_CD = B.LINK_RST_CD
, A.LINK_RST_MSG = B.LINK_RST_MSG
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE A.B08_ID = B.B08_ID</update>
<resultMap id="b08RespRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB08$B08RespDetail"> <!-- 영치정보 응답 -->
<result property="b08Id" column="B08_ID" /> <!-- 일련번호 ID -->
<result property="b08Sn" column="B08_SN" /> <!-- 일련번호 -->
<result property="sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="cdyDataRegYmd" column="CDY_DATA_REG_YMD" /> <!-- 영치자료등록일자 -->
<result property="cdyAcbKey" column="CDY_ACB_KEY" /> <!-- 영치대장키 -->
<result property="cdyVhrno" column="CDY_VHRNO" /> <!-- 영치자동차등록번호 -->
<result property="pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="pyrNm" column="PYR_NM" /> <!-- 납부자명 -->
<result property="cdySttCd" column="CDY_STT_CD" /> <!-- 영치상태코드 -->
<result property="cdyStt" column="CDY_STT" /> <!-- 영치상태 -->
<result property="cdyYmd" column="CDY_YMD" /> <!-- 영치일자 -->
<result property="avncAvtsmtYmd" column="AVNC_AVTSMT_YMD" /> <!-- 예고서통지일자 -->
<result property="cdyPvntPidYmd" column="CDY_PVNT_PID_YMD" /> <!-- 영치예고납기일자 -->
<result property="cdyGvbkYmd" column="CDY_GVBK_YMD" /> <!-- 영치반환일자 -->
<result property="cdyGvbkRsnCd" column="CDY_GVBK_RSN_CD" /> <!-- 영치반환사유코드 -->
<result property="cdyGvbkRsn" column="CDY_GVBK_RSN" /> <!-- 영치반환사유 -->
<result property="cdyDtRmvBgngYmd" column="CDY_DT_RMV_BGNG_YMD" /> <!-- 영치일시해제시작일자 -->
<result property="cdyDtRmvEndYmd" column="CDY_DT_RMV_END_YMD" /> <!-- 영치일시해제종료일자 -->
<result property="dtRmvRsnNm" column="DT_RMV_RSN_NM" /> <!-- 일시해제사유명 -->
<result property="cdyAddr" column="CDY_ADDR" /> <!-- 영치주소 -->
<result property="rmCn" column="RM_CN" /> <!-- 비고내용 -->
</resultMap>
<sql id="selectB08Resp">SELECT B08_ID <!-- 일련번호 ID -->
, B08_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, CDY_DATA_REG_YMD <!-- 영치자료등록일자 -->
, CDY_ACB_KEY <!-- 영치대장키 -->
, CDY_VHRNO <!-- 영치자동차등록번호 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, CDY_STT_CD <!-- 영치상태코드 -->
, CDY_STT <!-- 영치상태 -->
, CDY_YMD <!-- 영치일자 -->
, AVNC_AVTSMT_YMD <!-- 예고서통지일자 -->
, CDY_PVNT_PID_YMD <!-- 영치예고납기일자 -->
, CDY_GVBK_YMD <!-- 영치반환일자 -->
, CDY_GVBK_RSN_CD <!-- 영치반환사유코드 -->
, CDY_GVBK_RSN <!-- 영치반환사유 -->
, CDY_DT_RMV_BGNG_YMD <!-- 영치일시해제시작일자 -->
, CDY_DT_RMV_END_YMD <!-- 영치일시해제종료일자 -->
, DT_RMV_RSN_NM <!-- 일시해제사유명 -->
, CDY_ADDR <!-- 영치주소 -->
, RM_CN <!-- 비고내용 -->
FROM TB_NIS_SPCL_B08RV</sql>
<select id="selectB08Resps" parameterType="map" resultMap="b08RespRow">/* 영치정보 응답 객체 가져오기(lntrisB07_09Mapper.selectB08Resps) */
<include refid="selectB08Resp" />
<where><if test="b08Ids == null"> AND SGB_CD = #{sgbCd}</if>
<if test="b08Ids != null"> AND B08_ID IN (<foreach collection="b08Ids" item="b08Id" separator=",">#{b08Id}</foreach>)</if></where>
ORDER BY B08_ID, B08_SN</select>
<insert id="insertB08Resps" parameterType="map">/* 영치정보 응답 등록(lntrisB07_09Mapper.insertB08Resps) */
INSERT INTO TB_NIS_SPCL_B08RV (
B08_ID <!-- 일련번호 ID -->
, B08_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, CDY_DATA_REG_YMD <!-- 영치자료등록일자 -->
, CDY_ACB_KEY <!-- 영치대장키 -->
, CDY_VHRNO <!-- 영치자동차등록번호 -->
, PYR_NO <!-- 납부자번호 -->
, PYR_NM <!-- 납부자명 -->
, CDY_STT_CD <!-- 영치상태코드 -->
, CDY_STT <!-- 영치상태 -->
, CDY_YMD <!-- 영치일자 -->
, AVNC_AVTSMT_YMD <!-- 예고서통지일자 -->
, CDY_PVNT_PID_YMD <!-- 영치예고납기일자 -->
, CDY_GVBK_YMD <!-- 영치반환일자 -->
, CDY_GVBK_RSN_CD <!-- 영치반환사유코드 -->
, CDY_GVBK_RSN <!-- 영치반환사유 -->
, CDY_DT_RMV_BGNG_YMD <!-- 영치일시해제시작일자 -->
, CDY_DT_RMV_END_YMD <!-- 영치일시해제종료일자 -->
, DT_RMV_RSN_NM <!-- 일시해제사유명 -->
, CDY_ADDR <!-- 영치주소 -->
, RM_CN <!-- 비고내용 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b08Id} <!-- 일련번호 ID -->
, #{resp.b08Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 지방자치단체코드 -->
, #{resp.cdyDataRegYmd} <!-- 영치자료등록일자 -->
, #{resp.cdyAcbKey} <!-- 영치대장키 -->
, #{resp.cdyVhrno} <!-- 영치자동차등록번호 -->
, #{resp.pyrNo} <!-- 납부자번호 -->
, #{resp.pyrNm} <!-- 납부자명 -->
, #{resp.cdySttCd} <!-- 영치상태코드 -->
, #{resp.cdyStt} <!-- 영치상태 -->
, #{resp.cdyYmd} <!-- 영치일자 -->
, #{resp.avncAvtsmtYmd} <!-- 예고서통지일자 -->
, #{resp.cdyPvntPidYmd} <!-- 영치예고납기일자 -->
, #{resp.cdyGvbkYmd} <!-- 영치반환일자 -->
, #{resp.cdyGvbkRsnCd} <!-- 영치반환사유코드 -->
, #{resp.cdyGvbkRsn} <!-- 영치반환사유 -->
, #{resp.cdyDtRmvBgngYmd} <!-- 영치일시해제시작일자 -->
, #{resp.cdyDtRmvEndYmd} <!-- 영치일시해제종료일자 -->
, #{resp.dtRmvRsnNm} <!-- 일시해제사유명 -->
, #{resp.cdyAddr} <!-- 영치주소 -->
, #{resp.rmCn} <!-- 비고내용 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
</foreach></insert>
<resultMap id="b09ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB09"> <!-- 고지발송정보 요청 -->
<result property="b09Id" column="B09_ID" /> <!-- 일련번호 ID -->
<result property="taskSeCd" column="TASK_SE_CD" /> <!-- 업무 구분 코드 -->
<result property="request.dmndSeCd" column="DMND_SE_CD" /> <!-- 요청구분코드 -->
<result property="request.sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="request.pyrSeCd" column="PYR_SE_CD" /> <!-- 납부자구분 -->
<result property="request.pyrNo" column="PYR_NO" /> <!-- 납부자번호 -->
<result property="request.dptCd" column="DPT_CD" /> <!-- 부서코드 -->
<result property="request.spacBizCd" column="SPAC_BIZ_CD" /> <!-- 특별회계사업코드 -->
<result property="request.fyr" column="FYR" /> <!-- 회계연도 -->
<result property="request.actSeCd" column="ACT_SE_CD" /> <!-- 회계구분코드 -->
<result property="request.rprsTxmCd" column="RPRS_TXM_CD" /> <!-- 대표세입과목코드 -->
<result property="request.lvyNo" column="LVY_NO" /> <!-- 부과번호 -->
<result property="request.itmSn" column="ITM_SN" /> <!-- 분납일련번호 -->
<result property="response.linkRstCd" column="LINK_RST_CD" /> <!-- 연계 결과 코드 -->
<result property="response.linkRstMsg" column="LINK_RST_MSG" /> <!-- 연계 결과 메시지 -->
</resultMap>
<sql id="selectB09Req">SELECT B09_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무 구분 코드 -->
, DMND_SE_CD <!-- 요청구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
FROM TB_NIS_SPCL_B09</sql>
<select id="selectB09Reqs" parameterType="map" resultMap="b09ReqRow">/* 고지발송정보 요청 조회(lntrisB07_09Mapper.selectB09Reqs) */
<include refid="selectB09Req" />
<where><include refid="cokr.xit.interfaces.lntris.special.b.dao.LntrisB01_03Mapper.commonCondition"/></where>
ORDER BY B09_ID</select>
<insert id="insertB09Req" parameterType="map">/* 고지발송정보 요청 등록(lntrisB07_09Mapper.insertB09Req) */
<selectKey keyProperty="b09.b09Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(IFNULL(SUBSTR(MAX(B09_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_SPCL_B09 A, (<include refid="utility.selectToday" />) B
WHERE B09_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_SPCL_B09 (
B09_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무 구분 코드 -->
, DMND_SE_CD <!-- 요청구분코드 -->
, SGB_CD <!-- 지방자치단체코드 -->
, PYR_SE_CD <!-- 납부자구분 -->
, PYR_NO <!-- 납부자번호 -->
, DPT_CD <!-- 부서코드 -->
, SPAC_BIZ_CD <!-- 특별회계사업코드 -->
, FYR <!-- 회계연도 -->
, ACT_SE_CD <!-- 회계구분코드 -->
, RPRS_TXM_CD <!-- 대표세입과목코드 -->
, LVY_NO <!-- 부과번호 -->
, ITM_SN <!-- 분납일련번호 -->
, LINK_RST_CD <!-- 연계 결과 코드 -->
, LINK_RST_MSG <!-- 연계 결과 메시지 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{b09.b09Id} <!-- 일련번호 ID -->
, #{b09.taskSeCd} <!-- 업무 구분 코드 -->
, #{b09.request.dmndSeCd} <!-- 요청구분코드 -->
, #{b09.request.sgbCd} <!-- 지방자치단체코드 -->
, #{b09.request.pyrSeCd} <!-- 납부자구분 -->
, #{b09.request.pyrNo} <!-- 납부자번호 -->
, #{b09.request.dptCd} <!-- 부서코드 -->
, #{b09.request.spacBizCd} <!-- 특별회계사업코드 -->
, #{b09.request.fyr} <!-- 회계연도 -->
, #{b09.request.actSeCd} <!-- 회계구분코드 -->
, #{b09.request.rprsTxmCd} <!-- 대표세입과목코드 -->
, #{b09.request.lvyNo} <!-- 부과번호 -->
, #{b09.request.itmSn} <!-- 분납일련번호 -->
, #{b09.response.linkRstCd} <!-- 연계 결과 코드 -->
, #{b09.response.linkRstMsg} <!-- 연계 결과 메시지 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
<update id="updateB09ReqStatus" parameterType="map">/* 고지발송정보 요청 연계상태 수정(lntrisB07_09Mapper.updateB09ReqStatus) */
UPDATE TB_NIS_SPCL_B09 A
, (<foreach collection="b09s" item="b09" separator=" UNION">
SELECT #{b09.b09Id} B09_ID, #{b09.response.linkRstCd} LINK_RST_CD, #{b09.response.linkRstMsg} LINK_RST_MSG</foreach>
) B
SET A.LINK_RST_CD = B.LINK_RST_CD
, A.LINK_RST_MSG = B.LINK_RST_MSG
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE A.B09_ID = B.B09_ID</update>
<resultMap id="b09RespRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB09$B09RespDetail"> <!-- 고지발송정보 응답 -->
<result property="b09Id" column="B09_ID" /> <!-- 일련번호 ID -->
<result property="b09Sn" column="B09_SN" /> <!-- 일련번호 -->
<result property="sgbCd" column="SGB_CD" /> <!-- 지방자치단체코드 -->
<result property="lvyKey" column="LVY_KEY" /> <!-- 부과키 -->
<result property="pblcnOdr" column="PBLCN_ODR" /> <!-- 발행차수 -->
<result property="sndngYmd" column="SNDNG_YMD" /> <!-- 발송일자 -->
<result property="sndngAddr" column="SNDNG_ADDR" /> <!-- 발송주소 -->
<result property="sndngPyrNm" column="SNDNG_PYR_NM" /> <!-- 발송납부자명 -->
<result property="sndngPyrRegNo" column="SNDNG_PYR_REG_NO" /> <!-- 발송납부자등록번호 -->
<result property="sndngPyrSeCd" column="SNDNG_PYR_SE_CD" /> <!-- 발송납부자구분코드 -->
<result property="nhtOtptSeCd" column="NHT_OTPT_SE_CD" /> <!-- 고지서출력구분코드 -->
<result property="lastPctAmt" column="LAST_PCT_AMT" /> <!-- 최종본세 -->
<result property="lastPidYmd" column="LAST_PID_YMD" /> <!-- 납기일자 -->
<result property="glMngNo" column="GL_MNG_NO" /> <!-- 물건지관리번호 -->
<result property="glLotnoRoadAddrSeCd" column="GL_LOTNO_ROAD_ADDR_SE_CD" /> <!-- 물건지지번도로주소구분코드 -->
</resultMap>
<sql id="selectB09Resp">SELECT B09_ID <!-- 일련번호 ID -->
, B09_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, LVY_KEY <!-- 부과키 -->
, PBLCN_ODR <!-- 발행차수 -->
, SNDNG_YMD <!-- 발송일자 -->
, SNDNG_ADDR <!-- 발송주소 -->
, SNDNG_PYR_NM <!-- 발송납부자명 -->
, SNDNG_PYR_REG_NO <!-- 발송납부자등록번호 -->
, SNDNG_PYR_SE_CD <!-- 발송납부자구분코드 -->
, NHT_OTPT_SE_CD <!-- 고지서출력구분코드 -->
, LAST_PCT_AMT <!-- 최종본세 -->
, LAST_PID_YMD <!-- 납기일자 -->
, GL_MNG_NO <!-- 물건지관리번호 -->
, GL_LOTNO_ROAD_ADDR_SE_CD <!-- 물건지지번도로주소구분코드 -->
FROM TB_NIS_SPCL_B09RV</sql>
<select id="selectB09Resps" parameterType="map" resultMap="b09RespRow">/* 고지발송정보 응답 객체 가져오기(lntrisB07_09Mapper.selectB09Resps) */
<include refid="selectB09Resp" />
<where><if test="b09Ids == null"> AND SGB_CD = #{sgbCd}
AND DPT_CD = #{dptCd}
AND RPRS_TXM_CD = #{rprsTxmCd}</if>
<if test="b09Ids != null"> AND B09_ID IN (<foreach collection="b09Ids" item="b09Id" separator=",">#{b09Id}</foreach>)</if></where>
ORDER BY B09_ID, B09_SN</select>
<insert id="insertB09Resps" parameterType="map">/* 고지발송정보 응답 등록(lntrisB07_09Mapper.insertB09Resps) */
INSERT INTO TB_NIS_SPCL_B09RV (
B09_ID <!-- 일련번호 ID -->
, B09_SN <!-- 일련번호 -->
, SGB_CD <!-- 지방자치단체코드 -->
, LVY_KEY <!-- 부과키 -->
, PBLCN_ODR <!-- 발행차수 -->
, SNDNG_YMD <!-- 발송일자 -->
, SNDNG_ADDR <!-- 발송주소 -->
, SNDNG_PYR_NM <!-- 발송납부자명 -->
, SNDNG_PYR_REG_NO <!-- 발송납부자등록번호 -->
, SNDNG_PYR_SE_CD <!-- 발송납부자구분코드 -->
, NHT_OTPT_SE_CD <!-- 고지서출력구분코드 -->
, LAST_PCT_AMT <!-- 최종본세 -->
, LAST_PID_YMD <!-- 납기일자 -->
, GL_MNG_NO <!-- 물건지관리번호 -->
, GL_LOTNO_ROAD_ADDR_SE_CD <!-- 물건지지번도로주소구분코드 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b09Id} <!-- 일련번호 ID -->
, #{resp.b09Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 지방자치단체코드 -->
, #{resp.lvyKey} <!-- 부과키 -->
, #{resp.pblcnOdr} <!-- 발행차수 -->
, #{resp.sndngYmd} <!-- 발송일자 -->
, #{resp.sndngAddr} <!-- 발송주소 -->
, #{resp.sndngPyrNm} <!-- 발송납부자명 -->
, #{resp.sndngPyrRegNo} <!-- 발송납부자등록번호 -->
, #{resp.sndngPyrSeCd} <!-- 발송납부자구분코드 -->
, #{resp.nhtOtptSeCd} <!-- 고지서출력구분코드 -->
, #{resp.lastPctAmt} <!-- 최종본세 -->
, #{resp.lastPidYmd} <!-- 납기일자 -->
, #{resp.glMngNo} <!-- 물건지관리번호 -->
, #{resp.glLotnoRoadAddrSeCd} <!-- 물건지지번도로주소구분코드 -->
,<include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
</foreach></insert>
</mapper>

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<settings>
<setting name="mapUnderscoreToCamelCase" value="false"/>
<setting name="cacheEnabled" value="false" />
<setting name="jdbcTypeForNull" value="NULL" />
<setting name="callSettersOnNulls" value="true"/>
</settings>
<typeAliases>
<typeAlias alias="egovMap" type="org.egovframe.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="dataobject" type="cokr.xit.foundation.data.DataObject"/>
</typeAliases>
<typeHandlers>
<typeHandler handler="cokr.xit.foundation.data.RowValueHandler" javaType="java.lang.Object"/>
</typeHandlers>
<plugins>
<plugin interceptor="cokr.xit.foundation.data.paging.PagingSupport" />
</plugins>
</configuration>

@ -0,0 +1,4 @@
log4jdbc.spylogdelegator.name=net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator
log4jdbc.dump.sql.maxlinelength=0
log4jdbc.drivers=org.mariadb.jdbc.Driver

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 60초마다 설정 파일의 변경을 확인 하여 변경시 갱신 -->
<configuration scan="true" scanPeriod="60 seconds">
<property name="applicationName" value="lntris-special"/>
<property name="LOG_PATH" value="logs"/>
<property name="LOG_FILE_NAME" value="${applicationName}"/>
<property name="ERR_LOG_FILE_NAME" value="${LOG_FILE_NAME}-error"/>
<property name="LOG_PATTERN" value="%d{HH:mm:ss.SSS} %-5level [%logger{0}:%line] - %msg%n"/>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>${LOG_PATTERN}</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/${LOG_FILE_NAME}.log</file>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>${LOG_PATTERN}</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- .gz,.zip 등을 넣으면 자동 일자별 로그파일 압축 -->
<fileNamePattern>${LOG_PATH}/${LOG_FILE_NAME}.%d{yyyy-MM-dd}_%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>10MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory><!-- 로그파일 보관주기(일)-->
<!--<MinIndex>1</MinIndex>
<MaxIndex>10</MaxIndex>-->
</rollingPolicy>
</appender>
<appender name="Error" class="ch.qos.logback.core.rolling.RollingFileAppender">
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>error</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
<file>${LOG_PATH}/${ERR_LOG_FILE_NAME}.log</file>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>${LOG_PATTERN}</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- .gz,.zip 등을 넣으면 자동 일자별 로그파일 압축 -->
<fileNamePattern>${LOG_PATH}/${ERR_LOG_FILE_NAME}.%d{yyyy-MM-dd}_%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- 파일당 최고 용량 kb, mb, gb -->
<maxFileSize>10MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- 일자별 로그파일 최대 보관주기(~일), 해당 설정일 이상된 파일은 자동으로 제거-->
<maxHistory>60</maxHistory>
</rollingPolicy>
</appender>
<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="Error"/>
</root>
<!-- logger name="jdbc" level="OFF" additivity="false"/-->
<logger name="jdbc.sqltiming" level="DEBUG" />
<logger name="jdbc.resultsettable" level="OFF" additivity="false"/>
<logger name="jdbc.sqlonly" level="OFF"/>
<logger name="jdbc.resultset" level="OFF" additivity="false"/>
<logger name="jdbc.connection" level="OFF" additivity="false"/>
<logger name="jdbc.audit" level="OFF" additivity="true"/>
<logger name="org.apache.commons" level="OFF" additivity="false"/>
<!-- 특정패키지 로깅레벨 설정 -->
<logger name="cokr.xit" level="DEBUG" additivity="false">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="Error"/>
</logger>
</configuration>

@ -0,0 +1,2 @@
# see https://projectlombok.org/features/constructor lombok.copyableAnnotations
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
<context:component-scan base-package="cokr.xit">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Component"/>
<context:include-filter type="annotation" expression="org.springframework.stereotype.Service"/>
<context:include-filter type="annotation" expression="org.springframework.stereotype.Repository"/>
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
<bean id="antPathMatcher" class="org.springframework.util.AntPathMatcher" />
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames">
<list>
<value>classpath:message/message-common</value>
<value>classpath:org/egovframe/rte/fdl/property/messages/properties</value>
</list>
</property>
<property name="defaultEncoding" value="UTF-8"/>
<property name="cacheSeconds">
<value>60</value>
</property>
</bean>
<bean id="objectMapper" class="com.fasterxml.jackson.databind.ObjectMapper">
<property name="dateFormat" ref="dateFormat"/>
</bean>
<bean id="dateFormat" class="java.text.SimpleDateFormat">
<constructor-arg index="0" value="yyyy-MM-dd HH:mm"/>
</bean>
<bean id="localeResolver" class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
<property name="defaultLocale" value="ko_KR"/>
</bean>
<bean name="propertyService" class="org.egovframe.rte.fdl.property.impl.EgovPropertyServiceImpl" destroy-method="destroy">
<property name="properties">
<map>
<entry key="tempDir" value="D:/workspace/temp"/>
<entry key="pageUnit" value="10"/>
<entry key="pageSize" value="10"/>
</map>
</property>
<property name="extFileName">
<set>
<map>
<entry key="encoding" value="UTF-8"/>
<entry key="filename" value="classpath*:properties/xit-lvis.properties"/>
</map>
</set>
</property>
</bean>
<bean id="leaveaTrace" class="org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace" />
</beans>

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
">
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="net.sf.log4jdbc.sql.jdbcapi.DriverSpy"/>
<property name="url" value="jdbc:log4jdbc:mariadb://211.119.124.9:4407/platform?useUnicode=true&amp;characterEncoding=utf8&amp;serverTimezone=Asia/Seoul&amp;useSSL=false" />
<property name="username" value="fimsweb"/>
<property name="password" value="fimsweb!@"/>
<!--
<property name="url" value="jdbc:log4jdbc:mariadb://localhost:3306/xit-base?useUnicode=true&amp;characterEncoding=utf8&amp;serverTimezone=Asia/Seoul&amp;useSSL=false" />
<property name="username" value="root"/>
<property name="password" value="mjkhan"/>
-->
</bean>
<bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean"
p:dataSource-ref="dataSource"
p:configLocation="classpath:sql/mybatis-config.xml"
p:mapperLocations="classpath:sql/mapper/**/*.xml"
/>
<bean id="mapperConfigurer" class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
<property name="basePackage" value="cokr.xit" />
<property name="sqlSessionFactoryBeanName" value="sqlSession"/>
</bean>
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"/>
</bean>
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="*" rollback-for="Exception"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="serviceMethod" expression="execution(* cokr.xit..service.bean..*ServiceBean.*(..))" />
<aop:pointcut id="requiredTx" expression="execution(* cokr.xit..service.bean..*ServiceBean.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="requiredTx" />
</aop:config>
</beans>
Loading…
Cancel
Save