최초 커밋

master
mjkhan21 1 year ago
commit b2d43f47f0

7
.gitignore vendored

@ -0,0 +1,7 @@
/.classpath
/.factorypath
/.project
/.settings/
/logs/
/target/
/javadoc/

@ -0,0 +1,198 @@
<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-sntris</artifactId>
<version>23.04.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>xit-sntris</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.base</groupId>
<artifactId>xit-foundation</artifactId>
<version>23.04.01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cokr.xit.interfaces</groupId>
<artifactId>xit-public-info</artifactId>
<version>23.04.01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>2.7.2</version>
</dependency>
<!--dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency-->
<dependency>
<groupId>javax.xml.rpc</groupId>
<artifactId>javax.xml.rpc-api</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
<version>0.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.axis</groupId>
<artifactId>axis</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-javadoc</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.9.2</version>
<scope>provided</scope>
</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,3 @@
Manifest-Version: 1.0
Class-Path:

@ -0,0 +1,178 @@
package cokr.xit.interfaces.sntris.buga;
import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;
/**
* @Class Name : Bu04GyuljeInfoDTO.java
* @Description : dto
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class Bu04GyuljeInfoDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String gyuleNo;
private String gyuleYmd;
private String gyuljaeGubun;
private String gyuljaeYmd;
public Bu04GyuljeInfoDTO() {}
public Bu04GyuljeInfoDTO(
String gyuleNo,
String gyuleYmd,
String gyuljaeGubun,
String gyuljaeYmd) {
this.gyuleNo = gyuleNo;
this.gyuleYmd = gyuleYmd;
this.gyuljaeGubun = gyuljaeGubun;
this.gyuljaeYmd = gyuljaeYmd;
}
/**Gets the gyuleNo value for this Bu04GyuljeInfoDTO.
* @return gyuleNo
*/
public String getGyuleNo() {
return gyuleNo;
}
/**Sets the gyuleNo value for this Bu04GyuljeInfoDTO.
* @param gyuleNo
*/
public void setGyuleNo(String gyuleNo) {
this.gyuleNo = gyuleNo;
}
/**Gets the gyuleYmd value for this Bu04GyuljeInfoDTO.
* @return gyuleYmd
*/
public String getGyuleYmd() {
return gyuleYmd;
}
/**Sets the gyuleYmd value for this Bu04GyuljeInfoDTO.
* @param gyuleYmd
*/
public void setGyuleYmd(String gyuleYmd) {
this.gyuleYmd = gyuleYmd;
}
/**Gets the gyuljaeGubun value for this Bu04GyuljeInfoDTO.
* @return gyuljaeGubun
*/
public String getGyuljaeGubun() {
return gyuljaeGubun;
}
/**Sets the gyuljaeGubun value for this Bu04GyuljeInfoDTO.
* @param gyuljaeGubun
*/
public void setGyuljaeGubun(String gyuljaeGubun) {
this.gyuljaeGubun = gyuljaeGubun;
}
/**Gets the gyuljaeYmd value for this Bu04GyuljeInfoDTO.
* @return gyuljaeYmd
*/
public String getGyuljaeYmd() {
return gyuljaeYmd;
}
/**Sets the gyuljaeYmd value for this Bu04GyuljeInfoDTO.
* @param gyuljaeYmd
*/
public void setGyuljaeYmd(String gyuljaeYmd) {
this.gyuljaeYmd = gyuljaeYmd;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {
if (!(obj instanceof Bu04GyuljeInfoDTO)) return false;
Bu04GyuljeInfoDTO other = (Bu04GyuljeInfoDTO) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.gyuleNo==null && other.getGyuleNo()==null) ||
(this.gyuleNo!=null &&
this.gyuleNo.equals(other.getGyuleNo()))) &&
((this.gyuleYmd==null && other.getGyuleYmd()==null) ||
(this.gyuleYmd!=null &&
this.gyuleYmd.equals(other.getGyuleYmd()))) &&
((this.gyuljaeGubun==null && other.getGyuljaeGubun()==null) ||
(this.gyuljaeGubun!=null &&
this.gyuljaeGubun.equals(other.getGyuljaeGubun()))) &&
((this.gyuljaeYmd==null && other.getGyuljaeYmd()==null) ||
(this.gyuljaeYmd!=null &&
this.gyuljaeYmd.equals(other.getGyuljaeYmd())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
@Override
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getGyuleNo() != null) {
_hashCode += getGyuleNo().hashCode();
}
if (getGyuleYmd() != null) {
_hashCode += getGyuleYmd().hashCode();
}
if (getGyuljaeGubun() != null) {
_hashCode += getGyuljaeGubun().hashCode();
}
if (getGyuljaeYmd() != null) {
_hashCode += getGyuljaeYmd().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static TypeDesc typeDesc = Descriptor.type(
Bu04GyuljeInfoDTO.class,
Descriptor.field("gyuleNo", "string", true),
Descriptor.field("gyuleYmd", "string", true),
Descriptor.field("gyuljaeGubun", "string", true),
Descriptor.field("gyuljaeYmd", "string", true)
);
/**Return type metadata object
*/
public static TypeDesc getTypeDesc() {
return typeDesc;
}
/**Get Custom Serializer
*/
public static Serializer getSerializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanSerializer(_javaType, _xmlType, typeDesc);
}
/**Get Custom Deserializer
*/
public static Deserializer getDeserializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanDeserializer(_javaType, _xmlType, typeDesc);
}
}

@ -0,0 +1,294 @@
package cokr.xit.interfaces.sntris.buga;
import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;
/**
* @Class<?> Name : Bu04SemokWSDTO.java
* @Description : dto
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class Bu04SemokWSDTO implements Serializable {
private static final long serialVersionUID = 1L;
private double gasanRate;
private String gasanRateGubun;
private String ocrBuseoCd;
private String ocrSiguCd;
private String rowStatus;
private String semokCd;
private String semokNm;
private String suBuseoCd;
private String vatYn;
public Bu04SemokWSDTO() {}
public Bu04SemokWSDTO(
double gasanRate,
String gasanRateGubun,
String ocrBuseoCd,
String ocrSiguCd,
String rowStatus,
String semokCd,
String semokNm,
String suBuseoCd,
String vatYn) {
this.gasanRate = gasanRate;
this.gasanRateGubun = gasanRateGubun;
this.ocrBuseoCd = ocrBuseoCd;
this.ocrSiguCd = ocrSiguCd;
this.rowStatus = rowStatus;
this.semokCd = semokCd;
this.semokNm = semokNm;
this.suBuseoCd = suBuseoCd;
this.vatYn = vatYn;
}
/**Gets the gasanRate value for this Bu04SemokWSDTO.
* @return gasanRate
*/
public double getGasanRate() {
return gasanRate;
}
/**Sets the gasanRate value for this Bu04SemokWSDTO.
* @param gasanRate
*/
public void setGasanRate(double gasanRate) {
this.gasanRate = gasanRate;
}
/**Gets the gasanRateGubun value for this Bu04SemokWSDTO.
* @return gasanRateGubun
*/
public String getGasanRateGubun() {
return gasanRateGubun;
}
/**Sets the gasanRateGubun value for this Bu04SemokWSDTO.
* @param gasanRateGubun
*/
public void setGasanRateGubun(String gasanRateGubun) {
this.gasanRateGubun = gasanRateGubun;
}
/**Gets the ocrBuseoCd value for this Bu04SemokWSDTO.
* @return ocrBuseoCd
*/
public String getOcrBuseoCd() {
return ocrBuseoCd;
}
/**Sets the ocrBuseoCd value for this Bu04SemokWSDTO.
* @param ocrBuseoCd
*/
public void setOcrBuseoCd(String ocrBuseoCd) {
this.ocrBuseoCd = ocrBuseoCd;
}
/**Gets the ocrSiguCd value for this Bu04SemokWSDTO.
* @return ocrSiguCd
*/
public String getOcrSiguCd() {
return ocrSiguCd;
}
/**Sets the ocrSiguCd value for this Bu04SemokWSDTO.
* @param ocrSiguCd
*/
public void setOcrSiguCd(String ocrSiguCd) {
this.ocrSiguCd = ocrSiguCd;
}
/**Gets the rowStatus value for this Bu04SemokWSDTO.
* @return rowStatus
*/
public String getRowStatus() {
return rowStatus;
}
/**Sets the rowStatus value for this Bu04SemokWSDTO.
* @param rowStatus
*/
public void setRowStatus(String rowStatus) {
this.rowStatus = rowStatus;
}
/**Gets the semokCd value for this Bu04SemokWSDTO.
* @return semokCd
*/
public String getSemokCd() {
return semokCd;
}
/**Sets the semokCd value for this Bu04SemokWSDTO.
* @param semokCd
*/
public void setSemokCd(String semokCd) {
this.semokCd = semokCd;
}
/**Gets the semokNm value for this Bu04SemokWSDTO.
* @return semokNm
*/
public String getSemokNm() {
return semokNm;
}
/**Sets the semokNm value for this Bu04SemokWSDTO.
* @param semokNm
*/
public void setSemokNm(String semokNm) {
this.semokNm = semokNm;
}
/**Gets the suBuseoCd value for this Bu04SemokWSDTO.
* @return suBuseoCd
*/
public String getSuBuseoCd() {
return suBuseoCd;
}
/**Sets the suBuseoCd value for this Bu04SemokWSDTO.
* @param suBuseoCd
*/
public void setSuBuseoCd(String suBuseoCd) {
this.suBuseoCd = suBuseoCd;
}
/**Gets the vatYn value for this Bu04SemokWSDTO.
* @return vatYn
*/
public String getVatYn() {
return vatYn;
}
/**Sets the vatYn value for this Bu04SemokWSDTO.
* @param vatYn
*/
public void setVatYn(String vatYn) {
this.vatYn = vatYn;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {
if (!(obj instanceof Bu04SemokWSDTO)) return false;
Bu04SemokWSDTO other = (Bu04SemokWSDTO) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.gasanRate == other.getGasanRate() &&
((this.gasanRateGubun==null && other.getGasanRateGubun()==null) ||
(this.gasanRateGubun!=null &&
this.gasanRateGubun.equals(other.getGasanRateGubun()))) &&
((this.ocrBuseoCd==null && other.getOcrBuseoCd()==null) ||
(this.ocrBuseoCd!=null &&
this.ocrBuseoCd.equals(other.getOcrBuseoCd()))) &&
((this.ocrSiguCd==null && other.getOcrSiguCd()==null) ||
(this.ocrSiguCd!=null &&
this.ocrSiguCd.equals(other.getOcrSiguCd()))) &&
((this.rowStatus==null && other.getRowStatus()==null) ||
(this.rowStatus!=null &&
this.rowStatus.equals(other.getRowStatus()))) &&
((this.semokCd==null && other.getSemokCd()==null) ||
(this.semokCd!=null &&
this.semokCd.equals(other.getSemokCd()))) &&
((this.semokNm==null && other.getSemokNm()==null) ||
(this.semokNm!=null &&
this.semokNm.equals(other.getSemokNm()))) &&
((this.suBuseoCd==null && other.getSuBuseoCd()==null) ||
(this.suBuseoCd!=null &&
this.suBuseoCd.equals(other.getSuBuseoCd()))) &&
((this.vatYn==null && other.getVatYn()==null) ||
(this.vatYn!=null &&
this.vatYn.equals(other.getVatYn())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
@Override
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += Double.valueOf(getGasanRate()).hashCode();
if (getGasanRateGubun() != null) {
_hashCode += getGasanRateGubun().hashCode();
}
if (getOcrBuseoCd() != null) {
_hashCode += getOcrBuseoCd().hashCode();
}
if (getOcrSiguCd() != null) {
_hashCode += getOcrSiguCd().hashCode();
}
if (getRowStatus() != null) {
_hashCode += getRowStatus().hashCode();
}
if (getSemokCd() != null) {
_hashCode += getSemokCd().hashCode();
}
if (getSemokNm() != null) {
_hashCode += getSemokNm().hashCode();
}
if (getSuBuseoCd() != null) {
_hashCode += getSuBuseoCd().hashCode();
}
if (getVatYn() != null) {
_hashCode += getVatYn().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static TypeDesc typeDesc = Descriptor.type(
Bu04SemokWSDTO.class,
Descriptor.field("gasanRate", "double", false),
Descriptor.field("gasanRateGubun", "string", true),
Descriptor.field("ocrBuseoCd", "string", true),
Descriptor.field("ocrSiguCd", "string", true),
Descriptor.field("rowStatus", "string", true),
Descriptor.field("semokCd", "string", true),
Descriptor.field("semokNm", "string", true),
Descriptor.field("suBuseoCd", "string", true),
Descriptor.field("vatYn", "string", true)
);
/**Return type metadata object
*/
public static TypeDesc getTypeDesc() {
return typeDesc;
}
/**Get Custom Serializer
*/
public static Serializer getSerializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanSerializer(_javaType, _xmlType, typeDesc);
}
/**Get Custom Deserializer
*/
public static Deserializer getDeserializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanDeserializer(_javaType, _xmlType, typeDesc);
}
}

@ -0,0 +1,464 @@
package cokr.xit.interfaces.sntris.buga;
import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;
/**
* @Class Name : Bu04SemokWSRACSDTO.java
* @Description : dto
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class Bu04SemokWSRACSDTO implements Serializable {
private static final long serialVersionUID = 1L;
private double gasanRate;
private String gasanRateGubun;
private String hangmokcd1;
private String hangmokcd2;
private String hangmokcd3;
private String hangmokcd4;
private String hangmokcd5;
private String hangmokcd6;
private String napgiGubun;
private String ocrBuseoCd;
private String ocrSiguCd;
private String rowStatus;
private String semokCd;
private String semokNm;
private String suBuseoCd;
private String vatYn;
public Bu04SemokWSRACSDTO() {}
public Bu04SemokWSRACSDTO(
double gasanRate,
String gasanRateGubun,
String hangmokcd1,
String hangmokcd2,
String hangmokcd3,
String hangmokcd4,
String hangmokcd5,
String hangmokcd6,
String napgiGubun,
String ocrBuseoCd,
String ocrSiguCd,
String rowStatus,
String semokCd,
String semokNm,
String suBuseoCd,
String vatYn) {
this.gasanRate = gasanRate;
this.gasanRateGubun = gasanRateGubun;
this.hangmokcd1 = hangmokcd1;
this.hangmokcd2 = hangmokcd2;
this.hangmokcd3 = hangmokcd3;
this.hangmokcd4 = hangmokcd4;
this.hangmokcd5 = hangmokcd5;
this.hangmokcd6 = hangmokcd6;
this.napgiGubun = napgiGubun;
this.ocrBuseoCd = ocrBuseoCd;
this.ocrSiguCd = ocrSiguCd;
this.rowStatus = rowStatus;
this.semokCd = semokCd;
this.semokNm = semokNm;
this.suBuseoCd = suBuseoCd;
this.vatYn = vatYn;
}
/**Gets the gasanRate value for this Bu04SemokWSRACSDTO.
* @return gasanRate
*/
public double getGasanRate() {
return gasanRate;
}
/**Sets the gasanRate value for this Bu04SemokWSRACSDTO.
* @param gasanRate
*/
public void setGasanRate(double gasanRate) {
this.gasanRate = gasanRate;
}
/**Gets the gasanRateGubun value for this Bu04SemokWSRACSDTO.
* @return gasanRateGubun
*/
public String getGasanRateGubun() {
return gasanRateGubun;
}
/**Sets the gasanRateGubun value for this Bu04SemokWSRACSDTO.
* @param gasanRateGubun
*/
public void setGasanRateGubun(String gasanRateGubun) {
this.gasanRateGubun = gasanRateGubun;
}
/**Gets the hangmokcd1 value for this Bu04SemokWSRACSDTO.
* @return hangmokcd1
*/
public String getHangmokcd1() {
return hangmokcd1;
}
/**Sets the hangmokcd1 value for this Bu04SemokWSRACSDTO.
* @param hangmokcd1
*/
public void setHangmokcd1(String hangmokcd1) {
this.hangmokcd1 = hangmokcd1;
}
/**Gets the hangmokcd2 value for this Bu04SemokWSRACSDTO.
* @return hangmokcd2
*/
public String getHangmokcd2() {
return hangmokcd2;
}
/**Sets the hangmokcd2 value for this Bu04SemokWSRACSDTO.
* @param hangmokcd2
*/
public void setHangmokcd2(String hangmokcd2) {
this.hangmokcd2 = hangmokcd2;
}
/**Gets the hangmokcd3 value for this Bu04SemokWSRACSDTO.
* @return hangmokcd3
*/
public String getHangmokcd3() {
return hangmokcd3;
}
/**Sets the hangmokcd3 value for this Bu04SemokWSRACSDTO.
* @param hangmokcd3
*/
public void setHangmokcd3(String hangmokcd3) {
this.hangmokcd3 = hangmokcd3;
}
/**Gets the hangmokcd4 value for this Bu04SemokWSRACSDTO.
* @return hangmokcd4
*/
public String getHangmokcd4() {
return hangmokcd4;
}
/**Sets the hangmokcd4 value for this Bu04SemokWSRACSDTO.
* @param hangmokcd4
*/
public void setHangmokcd4(String hangmokcd4) {
this.hangmokcd4 = hangmokcd4;
}
/**Gets the hangmokcd5 value for this Bu04SemokWSRACSDTO.
* @return hangmokcd5
*/
public String getHangmokcd5() {
return hangmokcd5;
}
/**Sets the hangmokcd5 value for this Bu04SemokWSRACSDTO.
* @param hangmokcd5
*/
public void setHangmokcd5(String hangmokcd5) {
this.hangmokcd5 = hangmokcd5;
}
/**Gets the hangmokcd6 value for this Bu04SemokWSRACSDTO.
* @return hangmokcd6
*/
public String getHangmokcd6() {
return hangmokcd6;
}
/**Sets the hangmokcd6 value for this Bu04SemokWSRACSDTO.
* @param hangmokcd6
*/
public void setHangmokcd6(String hangmokcd6) {
this.hangmokcd6 = hangmokcd6;
}
/**Gets the napgiGubun value for this Bu04SemokWSRACSDTO.
* @return napgiGubun
*/
public String getNapgiGubun() {
return napgiGubun;
}
/**Sets the napgiGubun value for this Bu04SemokWSRACSDTO.
* @param napgiGubun
*/
public void setNapgiGubun(String napgiGubun) {
this.napgiGubun = napgiGubun;
}
/**Gets the ocrBuseoCd value for this Bu04SemokWSRACSDTO.
* @return ocrBuseoCd
*/
public String getOcrBuseoCd() {
return ocrBuseoCd;
}
/**Sets the ocrBuseoCd value for this Bu04SemokWSRACSDTO.
* @param ocrBuseoCd
*/
public void setOcrBuseoCd(String ocrBuseoCd) {
this.ocrBuseoCd = ocrBuseoCd;
}
/**Gets the ocrSiguCd value for this Bu04SemokWSRACSDTO.
* @return ocrSiguCd
*/
public String getOcrSiguCd() {
return ocrSiguCd;
}
/**Sets the ocrSiguCd value for this Bu04SemokWSRACSDTO.
* @param ocrSiguCd
*/
public void setOcrSiguCd(String ocrSiguCd) {
this.ocrSiguCd = ocrSiguCd;
}
/**Gets the rowStatus value for this Bu04SemokWSRACSDTO.
* @return rowStatus
*/
public String getRowStatus() {
return rowStatus;
}
/**Sets the rowStatus value for this Bu04SemokWSRACSDTO.
* @param rowStatus
*/
public void setRowStatus(String rowStatus) {
this.rowStatus = rowStatus;
}
/**Gets the semokCd value for this Bu04SemokWSRACSDTO.
* @return semokCd
*/
public String getSemokCd() {
return semokCd;
}
/**Sets the semokCd value for this Bu04SemokWSRACSDTO.
* @param semokCd
*/
public void setSemokCd(String semokCd) {
this.semokCd = semokCd;
}
/**Gets the semokNm value for this Bu04SemokWSRACSDTO.
* @return semokNm
*/
public String getSemokNm() {
return semokNm;
}
/**Sets the semokNm value for this Bu04SemokWSRACSDTO.
* @param semokNm
*/
public void setSemokNm(String semokNm) {
this.semokNm = semokNm;
}
/**Gets the suBuseoCd value for this Bu04SemokWSRACSDTO.
* @return suBuseoCd
*/
public String getSuBuseoCd() {
return suBuseoCd;
}
/**Sets the suBuseoCd value for this Bu04SemokWSRACSDTO.
* @param suBuseoCd
*/
public void setSuBuseoCd(String suBuseoCd) {
this.suBuseoCd = suBuseoCd;
}
/**Gets the vatYn value for this Bu04SemokWSRACSDTO.
* @return vatYn
*/
public String getVatYn() {
return vatYn;
}
/**Sets the vatYn value for this Bu04SemokWSRACSDTO.
* @param vatYn
*/
public void setVatYn(String vatYn) {
this.vatYn = vatYn;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {
if (!(obj instanceof Bu04SemokWSRACSDTO)) return false;
Bu04SemokWSRACSDTO other = (Bu04SemokWSRACSDTO) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.gasanRate == other.getGasanRate() &&
((this.gasanRateGubun==null && other.getGasanRateGubun()==null) ||
(this.gasanRateGubun!=null &&
this.gasanRateGubun.equals(other.getGasanRateGubun()))) &&
((this.hangmokcd1==null && other.getHangmokcd1()==null) ||
(this.hangmokcd1!=null &&
this.hangmokcd1.equals(other.getHangmokcd1()))) &&
((this.hangmokcd2==null && other.getHangmokcd2()==null) ||
(this.hangmokcd2!=null &&
this.hangmokcd2.equals(other.getHangmokcd2()))) &&
((this.hangmokcd3==null && other.getHangmokcd3()==null) ||
(this.hangmokcd3!=null &&
this.hangmokcd3.equals(other.getHangmokcd3()))) &&
((this.hangmokcd4==null && other.getHangmokcd4()==null) ||
(this.hangmokcd4!=null &&
this.hangmokcd4.equals(other.getHangmokcd4()))) &&
((this.hangmokcd5==null && other.getHangmokcd5()==null) ||
(this.hangmokcd5!=null &&
this.hangmokcd5.equals(other.getHangmokcd5()))) &&
((this.hangmokcd6==null && other.getHangmokcd6()==null) ||
(this.hangmokcd6!=null &&
this.hangmokcd6.equals(other.getHangmokcd6()))) &&
((this.napgiGubun==null && other.getNapgiGubun()==null) ||
(this.napgiGubun!=null &&
this.napgiGubun.equals(other.getNapgiGubun()))) &&
((this.ocrBuseoCd==null && other.getOcrBuseoCd()==null) ||
(this.ocrBuseoCd!=null &&
this.ocrBuseoCd.equals(other.getOcrBuseoCd()))) &&
((this.ocrSiguCd==null && other.getOcrSiguCd()==null) ||
(this.ocrSiguCd!=null &&
this.ocrSiguCd.equals(other.getOcrSiguCd()))) &&
((this.rowStatus==null && other.getRowStatus()==null) ||
(this.rowStatus!=null &&
this.rowStatus.equals(other.getRowStatus()))) &&
((this.semokCd==null && other.getSemokCd()==null) ||
(this.semokCd!=null &&
this.semokCd.equals(other.getSemokCd()))) &&
((this.semokNm==null && other.getSemokNm()==null) ||
(this.semokNm!=null &&
this.semokNm.equals(other.getSemokNm()))) &&
((this.suBuseoCd==null && other.getSuBuseoCd()==null) ||
(this.suBuseoCd!=null &&
this.suBuseoCd.equals(other.getSuBuseoCd()))) &&
((this.vatYn==null && other.getVatYn()==null) ||
(this.vatYn!=null &&
this.vatYn.equals(other.getVatYn())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
@Override
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += Double.valueOf(getGasanRate()).hashCode();
if (getGasanRateGubun() != null) {
_hashCode += getGasanRateGubun().hashCode();
}
if (getHangmokcd1() != null) {
_hashCode += getHangmokcd1().hashCode();
}
if (getHangmokcd2() != null) {
_hashCode += getHangmokcd2().hashCode();
}
if (getHangmokcd3() != null) {
_hashCode += getHangmokcd3().hashCode();
}
if (getHangmokcd4() != null) {
_hashCode += getHangmokcd4().hashCode();
}
if (getHangmokcd5() != null) {
_hashCode += getHangmokcd5().hashCode();
}
if (getHangmokcd6() != null) {
_hashCode += getHangmokcd6().hashCode();
}
if (getNapgiGubun() != null) {
_hashCode += getNapgiGubun().hashCode();
}
if (getOcrBuseoCd() != null) {
_hashCode += getOcrBuseoCd().hashCode();
}
if (getOcrSiguCd() != null) {
_hashCode += getOcrSiguCd().hashCode();
}
if (getRowStatus() != null) {
_hashCode += getRowStatus().hashCode();
}
if (getSemokCd() != null) {
_hashCode += getSemokCd().hashCode();
}
if (getSemokNm() != null) {
_hashCode += getSemokNm().hashCode();
}
if (getSuBuseoCd() != null) {
_hashCode += getSuBuseoCd().hashCode();
}
if (getVatYn() != null) {
_hashCode += getVatYn().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static TypeDesc typeDesc = Descriptor.type(
Bu04SemokWSRACSDTO.class,
Descriptor.field("gasanRate", "double", false),
Descriptor.field("gasanRateGubun", "string", true),
Descriptor.field("hangmokcd1", "string", true),
Descriptor.field("hangmokcd2", "string", true),
Descriptor.field("hangmokcd3", "string", true),
Descriptor.field("hangmokcd4", "string", true),
Descriptor.field("hangmokcd5", "string", true),
Descriptor.field("hangmokcd6", "string", true),
Descriptor.field("napgiGubun", "string", true),
Descriptor.field("ocrBuseoCd", "string", true),
Descriptor.field("ocrSiguCd", "string", true),
Descriptor.field("rowStatus", "string", true),
Descriptor.field("semokCd", "string", true),
Descriptor.field("semokNm", "string", true),
Descriptor.field("suBuseoCd", "string", true),
Descriptor.field("vatYn", "string", true)
);
/**Return type metadata object
*/
public static TypeDesc getTypeDesc() {
return typeDesc;
}
/**Get Custom Serializer
*/
public static Serializer getSerializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanSerializer(_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static Deserializer getDeserializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanDeserializer(_javaType, _xmlType, typeDesc);
}
}

@ -0,0 +1,727 @@
package cokr.xit.interfaces.sntris.buga;
import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;
/**
* @Class Name : Bu04SimpleBugaWSDTO.java
* @Description : dto
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class Bu04SimpleBugaWSDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String fstTaxYmd;
private String gum1;
private String gum2;
private String hangmok1;
private String hangmok2;
private String hangmok3;
private String hangmok4;
private String hangmok5;
private String hangmok6;
private String napDdtlAddr;
private String napDrefAddr;
private String napDtlAddr;
private String napDzipAddr;
private String napDzipCd;
private String napId;
private String napNm;
private String napZipAddr;
private String napZipCd;
private String napgiYmd;
private String ocrBuseoCd;
private String ocrSiguCd;
private String rowStatus;
private String semokCd;
private long taxAmt;
private String taxGubun;
private String taxNo;
private String taxYm;
public Bu04SimpleBugaWSDTO() {}
public Bu04SimpleBugaWSDTO(
String fstTaxYmd,
String gum1,
String gum2,
String hangmok1,
String hangmok2,
String hangmok3,
String hangmok4,
String hangmok5,
String hangmok6,
String napDdtlAddr,
String napDrefAddr,
String napDtlAddr,
String napDzipAddr,
String napDzipCd,
String napId,
String napNm,
String napZipAddr,
String napZipCd,
String napgiYmd,
String ocrBuseoCd,
String ocrSiguCd,
String rowStatus,
String semokCd,
long taxAmt,
String taxGubun,
String taxNo,
String taxYm) {
this.fstTaxYmd = fstTaxYmd;
this.gum1 = gum1;
this.gum2 = gum2;
this.hangmok1 = hangmok1;
this.hangmok2 = hangmok2;
this.hangmok3 = hangmok3;
this.hangmok4 = hangmok4;
this.hangmok5 = hangmok5;
this.hangmok6 = hangmok6;
this.napDdtlAddr = napDdtlAddr;
this.napDrefAddr = napDrefAddr;
this.napDtlAddr = napDtlAddr;
this.napDzipAddr = napDzipAddr;
this.napDzipCd = napDzipCd;
this.napId = napId;
this.napNm = napNm;
this.napZipAddr = napZipAddr;
this.napZipCd = napZipCd;
this.napgiYmd = napgiYmd;
this.ocrBuseoCd = ocrBuseoCd;
this.ocrSiguCd = ocrSiguCd;
this.rowStatus = rowStatus;
this.semokCd = semokCd;
this.taxAmt = taxAmt;
this.taxGubun = taxGubun;
this.taxNo = taxNo;
this.taxYm = taxYm;
}
/**Gets the fstTaxYmd value for this Bu04SimpleBugaWSDTO.
* @return fstTaxYmd
*/
public String getFstTaxYmd() {
return fstTaxYmd;
}
/**Sets the fstTaxYmd value for this Bu04SimpleBugaWSDTO.
* @param fstTaxYmd
*/
public void setFstTaxYmd(String fstTaxYmd) {
this.fstTaxYmd = fstTaxYmd;
}
/**Gets the gum1 value for this Bu04SimpleBugaWSDTO.
* @return gum1
*/
public String getGum1() {
return gum1;
}
/**Sets the gum1 value for this Bu04SimpleBugaWSDTO.
* @param gum1
*/
public void setGum1(String gum1) {
this.gum1 = gum1;
}
/**Gets the gum2 value for this Bu04SimpleBugaWSDTO.
* @return gum2
*/
public String getGum2() {
return gum2;
}
/**Sets the gum2 value for this Bu04SimpleBugaWSDTO.
* @param gum2
*/
public void setGum2(String gum2) {
this.gum2 = gum2;
}
/**Gets the hangmok1 value for this Bu04SimpleBugaWSDTO.
* @return hangmok1
*/
public String getHangmok1() {
return hangmok1;
}
/**Sets the hangmok1 value for this Bu04SimpleBugaWSDTO.
* @param hangmok1
*/
public void setHangmok1(String hangmok1) {
this.hangmok1 = hangmok1;
}
/**Gets the hangmok2 value for this Bu04SimpleBugaWSDTO.
* @return hangmok2
*/
public String getHangmok2() {
return hangmok2;
}
/**Sets the hangmok2 value for this Bu04SimpleBugaWSDTO.
* @param hangmok2
*/
public void setHangmok2(String hangmok2) {
this.hangmok2 = hangmok2;
}
/**Gets the hangmok3 value for this Bu04SimpleBugaWSDTO.
* @return hangmok3
*/
public String getHangmok3() {
return hangmok3;
}
/**Sets the hangmok3 value for this Bu04SimpleBugaWSDTO.
* @param hangmok3
*/
public void setHangmok3(String hangmok3) {
this.hangmok3 = hangmok3;
}
/**Gets the hangmok4 value for this Bu04SimpleBugaWSDTO.
* @return hangmok4
*/
public String getHangmok4() {
return hangmok4;
}
/**Sets the hangmok4 value for this Bu04SimpleBugaWSDTO.
* @param hangmok4
*/
public void setHangmok4(String hangmok4) {
this.hangmok4 = hangmok4;
}
/**Gets the hangmok5 value for this Bu04SimpleBugaWSDTO.
* @return hangmok5
*/
public String getHangmok5() {
return hangmok5;
}
/**Sets the hangmok5 value for this Bu04SimpleBugaWSDTO.
* @param hangmok5
*/
public void setHangmok5(String hangmok5) {
this.hangmok5 = hangmok5;
}
/**Gets the hangmok6 value for this Bu04SimpleBugaWSDTO.
* @return hangmok6
*/
public String getHangmok6() {
return hangmok6;
}
/**Sets the hangmok6 value for this Bu04SimpleBugaWSDTO.
* @param hangmok6
*/
public void setHangmok6(String hangmok6) {
this.hangmok6 = hangmok6;
}
/**Gets the napDdtlAddr value for this Bu04SimpleBugaWSDTO.
* @return napDdtlAddr
*/
public String getNapDdtlAddr() {
return napDdtlAddr;
}
/**Sets the napDdtlAddr value for this Bu04SimpleBugaWSDTO.
* @param napDdtlAddr
*/
public void setNapDdtlAddr(String napDdtlAddr) {
this.napDdtlAddr = napDdtlAddr;
}
/**Gets the napDrefAddr value for this Bu04SimpleBugaWSDTO.
* @return napDrefAddr
*/
public String getNapDrefAddr() {
return napDrefAddr;
}
/**Sets the napDrefAddr value for this Bu04SimpleBugaWSDTO.
* @param napDrefAddr
*/
public void setNapDrefAddr(String napDrefAddr) {
this.napDrefAddr = napDrefAddr;
}
/**Gets the napDtlAddr value for this Bu04SimpleBugaWSDTO.
* @return napDtlAddr
*/
public String getNapDtlAddr() {
return napDtlAddr;
}
/**Sets the napDtlAddr value for this Bu04SimpleBugaWSDTO.
* @param napDtlAddr
*/
public void setNapDtlAddr(String napDtlAddr) {
this.napDtlAddr = napDtlAddr;
}
/**Gets the napDzipAddr value for this Bu04SimpleBugaWSDTO.
* @return napDzipAddr
*/
public String getNapDzipAddr() {
return napDzipAddr;
}
/**Sets the napDzipAddr value for this Bu04SimpleBugaWSDTO.
* @param napDzipAddr
*/
public void setNapDzipAddr(String napDzipAddr) {
this.napDzipAddr = napDzipAddr;
}
/**Gets the napDzipCd value for this Bu04SimpleBugaWSDTO.
* @return napDzipCd
*/
public String getNapDzipCd() {
return napDzipCd;
}
/**Sets the napDzipCd value for this Bu04SimpleBugaWSDTO.
* @param napDzipCd
*/
public void setNapDzipCd(String napDzipCd) {
this.napDzipCd = napDzipCd;
}
/**Gets the napId value for this Bu04SimpleBugaWSDTO.
* @return napId
*/
public String getNapId() {
return napId;
}
/**Sets the napId value for this Bu04SimpleBugaWSDTO.
* @param napId
*/
public void setNapId(String napId) {
this.napId = napId;
}
/**Gets the napNm value for this Bu04SimpleBugaWSDTO.
* @return napNm
*/
public String getNapNm() {
return napNm;
}
/**Sets the napNm value for this Bu04SimpleBugaWSDTO.
* @param napNm
*/
public void setNapNm(String napNm) {
this.napNm = napNm;
}
/**Gets the napZipAddr value for this Bu04SimpleBugaWSDTO.
* @return napZipAddr
*/
public String getNapZipAddr() {
return napZipAddr;
}
/**Sets the napZipAddr value for this Bu04SimpleBugaWSDTO.
* @param napZipAddr
*/
public void setNapZipAddr(String napZipAddr) {
this.napZipAddr = napZipAddr;
}
/**Gets the napZipCd value for this Bu04SimpleBugaWSDTO.
* @return napZipCd
*/
public String getNapZipCd() {
return napZipCd;
}
/**Sets the napZipCd value for this Bu04SimpleBugaWSDTO.
* @param napZipCd
*/
public void setNapZipCd(String napZipCd) {
this.napZipCd = napZipCd;
}
/**Gets the napgiYmd value for this Bu04SimpleBugaWSDTO.
* @return napgiYmd
*/
public String getNapgiYmd() {
return napgiYmd;
}
/**Sets the napgiYmd value for this Bu04SimpleBugaWSDTO.
* @param napgiYmd
*/
public void setNapgiYmd(String napgiYmd) {
this.napgiYmd = napgiYmd;
}
/**Gets the ocrBuseoCd value for this Bu04SimpleBugaWSDTO.
* @return ocrBuseoCd
*/
public String getOcrBuseoCd() {
return ocrBuseoCd;
}
/**Sets the ocrBuseoCd value for this Bu04SimpleBugaWSDTO.
* @param ocrBuseoCd
*/
public void setOcrBuseoCd(String ocrBuseoCd) {
this.ocrBuseoCd = ocrBuseoCd;
}
/**Gets the ocrSiguCd value for this Bu04SimpleBugaWSDTO.
* @return ocrSiguCd
*/
public String getOcrSiguCd() {
return ocrSiguCd;
}
/**Sets the ocrSiguCd value for this Bu04SimpleBugaWSDTO.
* @param ocrSiguCd
*/
public void setOcrSiguCd(String ocrSiguCd) {
this.ocrSiguCd = ocrSiguCd;
}
/**Gets the rowStatus value for this Bu04SimpleBugaWSDTO.
* @return rowStatus
*/
public String getRowStatus() {
return rowStatus;
}
/**Sets the rowStatus value for this Bu04SimpleBugaWSDTO.
* @param rowStatus
*/
public void setRowStatus(String rowStatus) {
this.rowStatus = rowStatus;
}
/**Gets the semokCd value for this Bu04SimpleBugaWSDTO.
* @return semokCd
*/
public String getSemokCd() {
return semokCd;
}
/**Sets the semokCd value for this Bu04SimpleBugaWSDTO.
* @param semokCd
*/
public void setSemokCd(String semokCd) {
this.semokCd = semokCd;
}
/**Gets the taxAmt value for this Bu04SimpleBugaWSDTO.
* @return taxAmt
*/
public long getTaxAmt() {
return taxAmt;
}
/**Sets the taxAmt value for this Bu04SimpleBugaWSDTO.
* @param taxAmt
*/
public void setTaxAmt(long taxAmt) {
this.taxAmt = taxAmt;
}
/**Gets the taxGubun value for this Bu04SimpleBugaWSDTO.
* @return taxGubun
*/
public String getTaxGubun() {
return taxGubun;
}
/**Sets the taxGubun value for this Bu04SimpleBugaWSDTO.
* @param taxGubun
*/
public void setTaxGubun(String taxGubun) {
this.taxGubun = taxGubun;
}
/**Gets the taxNo value for this Bu04SimpleBugaWSDTO.
* @return taxNo
*/
public String getTaxNo() {
return taxNo;
}
/**Sets the taxNo value for this Bu04SimpleBugaWSDTO.
* @param taxNo
*/
public void setTaxNo(String taxNo) {
this.taxNo = taxNo;
}
/**Gets the taxYm value for this Bu04SimpleBugaWSDTO.
* @return taxYm
*/
public String getTaxYm() {
return taxYm;
}
/**Sets the taxYm value for this Bu04SimpleBugaWSDTO.
* @param taxYm
*/
public void setTaxYm(String taxYm) {
this.taxYm = taxYm;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {
if (!(obj instanceof Bu04SimpleBugaWSDTO)) return false;
Bu04SimpleBugaWSDTO other = (Bu04SimpleBugaWSDTO) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.fstTaxYmd==null && other.getFstTaxYmd()==null) ||
(this.fstTaxYmd!=null &&
this.fstTaxYmd.equals(other.getFstTaxYmd()))) &&
((this.gum1==null && other.getGum1()==null) ||
(this.gum1!=null &&
this.gum1.equals(other.getGum1()))) &&
((this.gum2==null && other.getGum2()==null) ||
(this.gum2!=null &&
this.gum2.equals(other.getGum2()))) &&
((this.hangmok1==null && other.getHangmok1()==null) ||
(this.hangmok1!=null &&
this.hangmok1.equals(other.getHangmok1()))) &&
((this.hangmok2==null && other.getHangmok2()==null) ||
(this.hangmok2!=null &&
this.hangmok2.equals(other.getHangmok2()))) &&
((this.hangmok3==null && other.getHangmok3()==null) ||
(this.hangmok3!=null &&
this.hangmok3.equals(other.getHangmok3()))) &&
((this.hangmok4==null && other.getHangmok4()==null) ||
(this.hangmok4!=null &&
this.hangmok4.equals(other.getHangmok4()))) &&
((this.hangmok5==null && other.getHangmok5()==null) ||
(this.hangmok5!=null &&
this.hangmok5.equals(other.getHangmok5()))) &&
((this.hangmok6==null && other.getHangmok6()==null) ||
(this.hangmok6!=null &&
this.hangmok6.equals(other.getHangmok6()))) &&
((this.napDdtlAddr==null && other.getNapDdtlAddr()==null) ||
(this.napDdtlAddr!=null &&
this.napDdtlAddr.equals(other.getNapDdtlAddr()))) &&
((this.napDrefAddr==null && other.getNapDrefAddr()==null) ||
(this.napDrefAddr!=null &&
this.napDrefAddr.equals(other.getNapDrefAddr()))) &&
((this.napDtlAddr==null && other.getNapDtlAddr()==null) ||
(this.napDtlAddr!=null &&
this.napDtlAddr.equals(other.getNapDtlAddr()))) &&
((this.napDzipAddr==null && other.getNapDzipAddr()==null) ||
(this.napDzipAddr!=null &&
this.napDzipAddr.equals(other.getNapDzipAddr()))) &&
((this.napDzipCd==null && other.getNapDzipCd()==null) ||
(this.napDzipCd!=null &&
this.napDzipCd.equals(other.getNapDzipCd()))) &&
((this.napId==null && other.getNapId()==null) ||
(this.napId!=null &&
this.napId.equals(other.getNapId()))) &&
((this.napNm==null && other.getNapNm()==null) ||
(this.napNm!=null &&
this.napNm.equals(other.getNapNm()))) &&
((this.napZipAddr==null && other.getNapZipAddr()==null) ||
(this.napZipAddr!=null &&
this.napZipAddr.equals(other.getNapZipAddr()))) &&
((this.napZipCd==null && other.getNapZipCd()==null) ||
(this.napZipCd!=null &&
this.napZipCd.equals(other.getNapZipCd()))) &&
((this.napgiYmd==null && other.getNapgiYmd()==null) ||
(this.napgiYmd!=null &&
this.napgiYmd.equals(other.getNapgiYmd()))) &&
((this.ocrBuseoCd==null && other.getOcrBuseoCd()==null) ||
(this.ocrBuseoCd!=null &&
this.ocrBuseoCd.equals(other.getOcrBuseoCd()))) &&
((this.ocrSiguCd==null && other.getOcrSiguCd()==null) ||
(this.ocrSiguCd!=null &&
this.ocrSiguCd.equals(other.getOcrSiguCd()))) &&
((this.rowStatus==null && other.getRowStatus()==null) ||
(this.rowStatus!=null &&
this.rowStatus.equals(other.getRowStatus()))) &&
((this.semokCd==null && other.getSemokCd()==null) ||
(this.semokCd!=null &&
this.semokCd.equals(other.getSemokCd()))) &&
this.taxAmt == other.getTaxAmt() &&
((this.taxGubun==null && other.getTaxGubun()==null) ||
(this.taxGubun!=null &&
this.taxGubun.equals(other.getTaxGubun()))) &&
((this.taxNo==null && other.getTaxNo()==null) ||
(this.taxNo!=null &&
this.taxNo.equals(other.getTaxNo()))) &&
((this.taxYm==null && other.getTaxYm()==null) ||
(this.taxYm!=null &&
this.taxYm.equals(other.getTaxYm())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
@Override
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getFstTaxYmd() != null) {
_hashCode += getFstTaxYmd().hashCode();
}
if (getGum1() != null) {
_hashCode += getGum1().hashCode();
}
if (getGum2() != null) {
_hashCode += getGum2().hashCode();
}
if (getHangmok1() != null) {
_hashCode += getHangmok1().hashCode();
}
if (getHangmok2() != null) {
_hashCode += getHangmok2().hashCode();
}
if (getHangmok3() != null) {
_hashCode += getHangmok3().hashCode();
}
if (getHangmok4() != null) {
_hashCode += getHangmok4().hashCode();
}
if (getHangmok5() != null) {
_hashCode += getHangmok5().hashCode();
}
if (getHangmok6() != null) {
_hashCode += getHangmok6().hashCode();
}
if (getNapDdtlAddr() != null) {
_hashCode += getNapDdtlAddr().hashCode();
}
if (getNapDrefAddr() != null) {
_hashCode += getNapDrefAddr().hashCode();
}
if (getNapDtlAddr() != null) {
_hashCode += getNapDtlAddr().hashCode();
}
if (getNapDzipAddr() != null) {
_hashCode += getNapDzipAddr().hashCode();
}
if (getNapDzipCd() != null) {
_hashCode += getNapDzipCd().hashCode();
}
if (getNapId() != null) {
_hashCode += getNapId().hashCode();
}
if (getNapNm() != null) {
_hashCode += getNapNm().hashCode();
}
if (getNapZipAddr() != null) {
_hashCode += getNapZipAddr().hashCode();
}
if (getNapZipCd() != null) {
_hashCode += getNapZipCd().hashCode();
}
if (getNapgiYmd() != null) {
_hashCode += getNapgiYmd().hashCode();
}
if (getOcrBuseoCd() != null) {
_hashCode += getOcrBuseoCd().hashCode();
}
if (getOcrSiguCd() != null) {
_hashCode += getOcrSiguCd().hashCode();
}
if (getRowStatus() != null) {
_hashCode += getRowStatus().hashCode();
}
if (getSemokCd() != null) {
_hashCode += getSemokCd().hashCode();
}
_hashCode += Long.valueOf(getTaxAmt()).hashCode();
if (getTaxGubun() != null) {
_hashCode += getTaxGubun().hashCode();
}
if (getTaxNo() != null) {
_hashCode += getTaxNo().hashCode();
}
if (getTaxYm() != null) {
_hashCode += getTaxYm().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static TypeDesc typeDesc = Descriptor.type(
Bu04SimpleBugaWSDTO.class,
Descriptor.field("fstTaxYmd", "string", true),
Descriptor.field("gum1", "string", true),
Descriptor.field("gum2", "string", true),
Descriptor.field("hangmok1", "string", true),
Descriptor.field("hangmok2", "string", true),
Descriptor.field("hangmok3", "string", true),
Descriptor.field("hangmok4", "string", true),
Descriptor.field("hangmok5", "string", true),
Descriptor.field("hangmok6", "string", true),
Descriptor.field("napDdtlAddr", "string", true),
Descriptor.field("napDrefAddr", "string", true),
Descriptor.field("napDtlAddr", "string", true),
Descriptor.field("napDzipAddr", "string", true),
Descriptor.field("napDzipCd", "string", true),
Descriptor.field("napId", "string", true),
Descriptor.field("napNm", "string", true),
Descriptor.field("napZipAddr", "string", true),
Descriptor.field("napZipCd", "string", true),
Descriptor.field("napgiYmd", "string", true),
Descriptor.field("ocrBuseoCd", "string", true),
Descriptor.field("ocrSiguCd", "string", true),
Descriptor.field("rowStatus", "string", true),
Descriptor.field("semokCd", "string", true),
Descriptor.field("taxAmt", "long", false),
Descriptor.field("taxGubun", "string", true),
Descriptor.field("taxNo", "string", true),
Descriptor.field("taxYm", "string", true)
);
/**Return type metadata object
*/
public static TypeDesc getTypeDesc() {
return typeDesc;
}
/**Get Custom Serializer
*/
public static Serializer getSerializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanSerializer(_javaType, _xmlType, typeDesc);
}
/**Get Custom Deserializer
*/
public static Deserializer getDeserializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanDeserializer(_javaType, _xmlType, typeDesc);
}
}

@ -0,0 +1,155 @@
package cokr.xit.interfaces.sntris.buga;
import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;
/**
* @Class Name : Bu04UserInfoWSDTO.java
* @Description : dto
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class Bu04UserInfoWSDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String buseoCd;
private String rowStatus;
private String siguCd;
public Bu04UserInfoWSDTO() {}
public Bu04UserInfoWSDTO(
String buseoCd,
String rowStatus,
String siguCd) {
this.buseoCd = buseoCd;
this.rowStatus = rowStatus;
this.siguCd = siguCd;
}
/**Gets the buseoCd value for this Bu04UserInfoWSDTO.
* @return buseoCd
*/
public String getBuseoCd() {
return buseoCd;
}
/**Sets the buseoCd value for this Bu04UserInfoWSDTO.
* @param buseoCd
*/
public void setBuseoCd(String buseoCd) {
this.buseoCd = buseoCd;
}
/**Gets the rowStatus value for this Bu04UserInfoWSDTO.
* @return rowStatus
*/
public String getRowStatus() {
return rowStatus;
}
/**Sets the rowStatus value for this Bu04UserInfoWSDTO.
* @param rowStatus
*/
public void setRowStatus(String rowStatus) {
this.rowStatus = rowStatus;
}
/**Gets the siguCd value for this Bu04UserInfoWSDTO.
* @return siguCd
*/
public String getSiguCd() {
return siguCd;
}
/**Sets the siguCd value for this Bu04UserInfoWSDTO.
* @param siguCd
*/
public void setSiguCd(String siguCd) {
this.siguCd = siguCd;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {
if (!(obj instanceof Bu04UserInfoWSDTO)) return false;
Bu04UserInfoWSDTO other = (Bu04UserInfoWSDTO) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.buseoCd==null && other.getBuseoCd()==null) ||
(this.buseoCd!=null &&
this.buseoCd.equals(other.getBuseoCd()))) &&
((this.rowStatus==null && other.getRowStatus()==null) ||
(this.rowStatus!=null &&
this.rowStatus.equals(other.getRowStatus()))) &&
((this.siguCd==null && other.getSiguCd()==null) ||
(this.siguCd!=null &&
this.siguCd.equals(other.getSiguCd())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
@Override
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getBuseoCd() != null) {
_hashCode += getBuseoCd().hashCode();
}
if (getRowStatus() != null) {
_hashCode += getRowStatus().hashCode();
}
if (getSiguCd() != null) {
_hashCode += getSiguCd().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static TypeDesc typeDesc = Descriptor.type(
Bu04UserInfoWSDTO.class,
Descriptor.field("buseoCd", "string", true),
Descriptor.field("rowStatus", "string", true),
Descriptor.field("siguCd", "string", true)
);
/**Return type metadata object
*/
public static TypeDesc getTypeDesc() {
return typeDesc;
}
/**Get Custom Serializer
*/
public static Serializer getSerializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanSerializer(_javaType, _xmlType, typeDesc);
}
/**Get Custom Deserializer
*/
public static Deserializer getDeserializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanDeserializer(_javaType, _xmlType, typeDesc);
}
}

@ -0,0 +1,45 @@
package cokr.xit.interfaces.sntris.buga;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* @Class Name : BugaWS.java
* @Description :
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public interface BugaWS extends Remote {
public Bu04UserInfoWSDTO getUserInfo(String userId) throws RemoteException;
public Bu04SemokWSDTO[] getListSemokInfo(String siguCd, String buseoCd) throws RemoteException;
public Bu04SemokWSDTO getSemokInfo(String siguCd, String buseoCd, String semokCd) throws RemoteException;
public Bu04SemokWSRACSDTO getSemokInfoRACS(String siguCd, String buseoCd, String semokCd) throws RemoteException;
public String getNewTaxNo(String siguCd, String semokCd, String taxYm, String taxGubun) throws RemoteException;
public Bu04SimpleBugaWSDTO[] getListSimpleBuga(String buchGubun, String sysGubun, String mulNm) throws RemoteException;
public Bu04SimpleBugaETCWSDTO getSimpleBuga(String buchGubun, String sysGubun, String siguCd, String semokCd, String taxYm, String taxGubun, String taxNo) throws RemoteException;
public StatusCodeWSDTO insertBugaRegist(Bu04BugaWSDTO issue) throws RemoteException;
public StatusCodeWSDTO insertBugaRegistExt(Bu04BugaExtWSDTO issue) throws RemoteException;
public boolean isCheckBugaUpdate(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo) throws RemoteException;
public StatusCodeWSDTO deleteBuga(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String lastWorkId, String sysGubun) throws RemoteException;
public StatusCodeWSDTO biGwaSeRegistWS(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String buDcGubun) throws RemoteException;
public Bu04GyuljeInfoDTO getGyuljeInfo(String siguCd, String semokCd, String taxYm, String taxGubun, String buseoCd, String taxNo, String lastWorkId) throws RemoteException;
public StatusCodeWSDTO updateNapgiYmd(Bu04BugaWSDTO issue) throws RemoteException;
}

@ -0,0 +1,134 @@
package cokr.xit.interfaces.sntris.buga;
import java.rmi.RemoteException;
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.Stub;
import org.apache.log4j.Logger;
/**
* @Class Name : BugaWSProxy.java
* @Description :
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class BugaWSProxy implements BugaWS {
private static Logger logger = Logger.getLogger(BugaWSProxy.class.getName());
private String _endpoint = null;
private BugaWS bugaWS = null;
public BugaWSProxy() {
_initBugaWSProxy();
}
public BugaWSProxy(String endpoint) {
_endpoint = endpoint;
_initBugaWSProxy();
}
private void _initBugaWSProxy() {
try {
bugaWS = (new BugaWebServiceLocator()).getBugaWSPort();
if (bugaWS != null) {
if (_endpoint != null)
((Stub)bugaWS)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
else
_endpoint = (String)((Stub)bugaWS)._getProperty("javax.xml.rpc.service.endpoint.address");
}
} catch (ServiceException serviceException) {
logger.error("e : " + serviceException);
}
}
public String getEndpoint() {
return _endpoint;
}
public void setEndpoint(String endpoint) {
_endpoint = endpoint;
if (bugaWS != null)
((Stub)bugaWS)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
}
public BugaWS getBugaWS() {
if (bugaWS == null)
_initBugaWSProxy();
return bugaWS;
}
@Override
public Bu04UserInfoWSDTO getUserInfo(String userId) throws RemoteException {
return getBugaWS().getUserInfo(userId);
}
@Override
public Bu04SemokWSDTO[] getListSemokInfo(String siguCd, String buseoCd) throws RemoteException {
return getBugaWS().getListSemokInfo(siguCd, buseoCd);
}
@Override
public Bu04SemokWSDTO getSemokInfo(String siguCd, String buseoCd, String semokCd) throws RemoteException {
return getBugaWS().getSemokInfo(siguCd, buseoCd, semokCd);
}
@Override
public Bu04SemokWSRACSDTO getSemokInfoRACS(String siguCd, String buseoCd, String semokCd) throws RemoteException {
return getBugaWS().getSemokInfoRACS(siguCd, buseoCd, semokCd);
}
@Override
public String getNewTaxNo(String siguCd, String semokCd, String taxYm, String taxGubun) throws RemoteException {
return getBugaWS().getNewTaxNo(siguCd, semokCd, taxYm, taxGubun);
}
@Override
public Bu04SimpleBugaWSDTO[] getListSimpleBuga(String buchGubun, String sysGubun, String mulNm) throws RemoteException {
return getBugaWS().getListSimpleBuga(buchGubun, sysGubun, mulNm);
}
@Override
public Bu04SimpleBugaETCWSDTO getSimpleBuga(String buchGubun, String sysGubun, String siguCd, String semokCd, String taxYm, String taxGubun, String taxNo) throws RemoteException {
return getBugaWS().getSimpleBuga(buchGubun, sysGubun, siguCd, semokCd, taxYm, taxGubun, taxNo);
}
@Override
public StatusCodeWSDTO insertBugaRegist(Bu04BugaWSDTO bugaDTO) throws RemoteException {
return getBugaWS().insertBugaRegist(bugaDTO);
}
@Override
public StatusCodeWSDTO insertBugaRegistExt(Bu04BugaExtWSDTO bugaDTO) throws RemoteException {
return getBugaWS().insertBugaRegistExt(bugaDTO);
}
@Override
public boolean isCheckBugaUpdate(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo) throws RemoteException {
return getBugaWS().isCheckBugaUpdate(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo);
}
@Override
public StatusCodeWSDTO deleteBuga(String siguCd, String buseoCd, String nxrpTaxItmCode, String taxYm, String taxGubun, String taxNo, String lastWorkId, String nxrpSysSe) throws RemoteException {
return getBugaWS().deleteBuga(siguCd, buseoCd, nxrpTaxItmCode, taxYm, taxGubun, taxNo, lastWorkId, nxrpSysSe);
}
@Override
public StatusCodeWSDTO biGwaSeRegistWS(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String buDcGubun) throws RemoteException {
return getBugaWS().biGwaSeRegistWS(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo, buDcGubun);
}
@Override
public Bu04GyuljeInfoDTO getGyuljeInfo(String siguCd, String semokCd, String taxYm, String taxGubun, String buseoCd, String taxNo, String lastWorkId) throws RemoteException {
return getBugaWS().getGyuljeInfo(siguCd, semokCd, taxYm, taxGubun, buseoCd, taxNo, lastWorkId);
}
@Override
public StatusCodeWSDTO updateNapgiYmd(Bu04BugaWSDTO issue) throws RemoteException {
return getBugaWS().updateNapgiYmd(issue);
}
}

@ -0,0 +1,329 @@
package cokr.xit.interfaces.sntris.buga;
import java.net.URL;
import java.rmi.RemoteException;
import java.util.Enumeration;
import java.util.List;
import java.util.Vector;
import javax.xml.namespace.QName;
import org.apache.axis.AxisEngine;
import org.apache.axis.AxisFault;
import org.apache.axis.NoEndPointException;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.client.Stub;
import org.apache.axis.description.OperationDesc;
import org.apache.axis.encoding.DeserializerFactory;
import org.apache.axis.encoding.SerializerFactory;
import org.apache.axis.encoding.ser.BeanDeserializerFactory;
import org.apache.axis.encoding.ser.BeanSerializerFactory;
import org.apache.axis.soap.SOAPConstants;
import org.apache.axis.utils.JavaUtils;
/**
* @Class Name : BugaWSSoapBindingStub.java
* @Description :
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class BugaWSSoapBindingStub extends Stub implements BugaWS {
private Vector<QName> cachedSerQNames = new Vector<>();
private Vector<Class<?>> cachedSerClasses = new Vector<>();
private Vector<Object> cachedSerFactories = new Vector<>();
private Vector<Object> cachedDeserFactories = new Vector<>();
private static final OperationDesc[] _operations = new OperationDesc[14];
static {
_operations[0] = Descriptor.operation(
"getUserInfo", Bu04UserInfoWSDTO.class,
Descriptor.parameter("in0", String.class, true)
);
_operations[1] = Descriptor.operation(
"isCheckBugaUpdate", boolean.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true),
Descriptor.parameter("in3", String.class, true),
Descriptor.parameter("in4", String.class, true),
Descriptor.parameter("in5", String.class, true)
);
_operations[2] = Descriptor.operation(
"getNewTaxNo", String.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true),
Descriptor.parameter("in3", String.class, true)
);
_operations[3] = Descriptor.operation(
"getSemokInfo", Bu04SemokWSDTO.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true)
);
_operations[4] = Descriptor.operation(
"getListSemokInfo", Bu04SemokWSDTO[].class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true)
);
_operations[5] = Descriptor.operation(
"insertBugaRegist", StatusCodeWSDTO.class,
Descriptor.parameter("in0", Bu04BugaWSDTO.class, true)
);
_operations[6] = Descriptor.operation(
"insertBugaRegistExt", StatusCodeWSDTO.class,
Descriptor.parameter("in0", Bu04BugaExtWSDTO.class, true)
);
_operations[7] = Descriptor.operation(
"deleteBuga", StatusCodeWSDTO.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true),
Descriptor.parameter("in3", String.class, true),
Descriptor.parameter("in4", String.class, true),
Descriptor.parameter("in5", String.class, true),
Descriptor.parameter("in6", String.class, true),
Descriptor.parameter("in7", String.class, true)
);
_operations[8] = Descriptor.operation(
"getListSimpleBuga", Bu04SimpleBugaWSDTO[].class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true)
);
_operations[9] = Descriptor.operation(
"getSimpleBuga", Bu04SimpleBugaETCWSDTO.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true),
Descriptor.parameter("in3", String.class, true),
Descriptor.parameter("in4", String.class, true),
Descriptor.parameter("in5", String.class, true),
Descriptor.parameter("in6", String.class, true)
);
_operations[10] = Descriptor.operation(
"getSemokInfoRACS", Bu04SemokWSRACSDTO.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true)
);
_operations[11] = Descriptor.operation(
"getGyuljeInfo", Bu04GyuljeInfoDTO.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true),
Descriptor.parameter("in3", String.class, true),
Descriptor.parameter("in4", String.class, true),
Descriptor.parameter("in5", String.class, true),
Descriptor.parameter("in6", String.class, true)
);
_operations[12] = Descriptor.operation(
"BiGwaSeRegistWS", StatusCodeWSDTO.class,
Descriptor.parameter("in0", String.class, true),
Descriptor.parameter("in1", String.class, true),
Descriptor.parameter("in2", String.class, true),
Descriptor.parameter("in3", String.class, true),
Descriptor.parameter("in4", String.class, true),
Descriptor.parameter("in5", String.class, true),
Descriptor.parameter("in6", String.class, true)
);
_operations[13] = Descriptor.operation(
"updateNapgiYmd", StatusCodeWSDTO.class,
Descriptor.parameter("in0", Bu04BugaWSDTO.class, true)
);
}
public BugaWSSoapBindingStub() throws AxisFault {
this(null);
}
public BugaWSSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service) throws AxisFault {
this(service);
super.cachedEndpoint = endpointURL;
}
public BugaWSSoapBindingStub(javax.xml.rpc.Service service) throws AxisFault {
if (service == null) {
super.service = new Service();
} else {
super.service = service;
}
((Service)super.service).setTypeMappingVersion("1.2");
List.of(
Bu04BugaExtWSDTO.class, Bu04BugaWSDTO.class, Bu04GyuljeInfoDTO.class,
Bu04SemokWSDTO.class, Bu04SemokWSRACSDTO.class,
Bu04SimpleBugaETCWSDTO.class, Bu04SimpleBugaWSDTO.class,
Bu04UserInfoWSDTO.class, StatusCodeWSDTO.class
).forEach(klass -> {
cachedSerQNames.add(Descriptor.ofName(klass.getSimpleName()));
cachedSerClasses.add(klass);
cachedSerFactories.add(BeanSerializerFactory.class);
cachedDeserFactories.add(BeanDeserializerFactory.class);
});
}
protected Call createCall() throws RemoteException {
try {
Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}
if (super.cachedEndpoint != null) {
_call.setTargetEndpointAddress(super.cachedEndpoint);
}
if (super.cachedTimeout != null) {
_call.setTimeout(super.cachedTimeout);
}
if (super.cachedPortName != null) {
_call.setPortName(super.cachedPortName);
}
Enumeration keys = super.cachedProperties.keys();
while (keys.hasMoreElements()) {
String key = (String) keys.nextElement();
_call.setProperty(key, super.cachedProperties.get(key));
}
// All the type mapping information is registered
// when the first call is made.
// The type mapping information is actually registered in
// the TypeMappingRegistry of the service, which
// is the reason why registration is only needed for the first call.
synchronized (this) {
if (firstCall()) {
// must set encoding style before registering serializers
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
Class<?> cls = cachedSerClasses.get(i);
QName qName = cachedSerQNames.get(i);
Object x = cachedSerFactories.get(i);
if (x instanceof Class<?> sf) {
Class<?> df = (Class<?>)cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
else if (x instanceof SerializerFactory sf) {
DeserializerFactory df = (DeserializerFactory)cachedDeserFactories.get(i);
_call.registerTypeMapping(cls, qName, sf, df, false);
}
}
}
}
return _call;
} catch (Throwable _t) {
throw new AxisFault("Failure trying to get the Call object", _t);
}
}
private <T> T execute(OperationDesc oper, String soapActionURI, Object[] params) throws RemoteException {
if (super.cachedEndpoint == null)
throw new NoEndPointException();
Call _call = createCall();
_call.setOperation(oper);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI(soapActionURI);
_call.setEncodingStyle(null);
_call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(Descriptor.ofName(oper.getName()));
setRequestHeaders(_call);
setAttachments(_call);
Object _resp = _call.invoke(params);
if (_resp instanceof RemoteException re)
throw re;
extractAttachments(_call);
Class<T> returnType = oper.getReturnClass();
try {
return returnType.cast(_resp);
} catch (Exception _exception) {
return returnType.cast(JavaUtils.convert(_resp, returnType));
}
}
@Override
public Bu04UserInfoWSDTO getUserInfo(String in0) throws RemoteException {
return execute(_operations[0], "", new Object[] {in0});
}
@Override
public boolean isCheckBugaUpdate(String in0, String in1, String in2, String in3, String in4, String in5) throws RemoteException {
return execute(_operations[1], "BugaSoapAction", new Object[] {in0, in1, in2, in3, in4, in5});
}
@Override
public String getNewTaxNo(String in0, String in1, String in2, String in3) throws RemoteException {
return execute(_operations[2], "BugaSoapAction", new Object[] {in0, in1, in2, in3});
}
@Override
public Bu04SemokWSDTO getSemokInfo(String in0, String in1, String in2) throws RemoteException {
return execute(_operations[3], "BugaSoapAction", new Object[] {in0, in1, in2});
}
@Override
public Bu04SemokWSDTO[] getListSemokInfo(String in0, String in1) throws RemoteException {
return execute(_operations[4], "", new Object[] {in0, in1});
}
@Override
public StatusCodeWSDTO insertBugaRegist(Bu04BugaWSDTO in0) throws RemoteException {
return execute(_operations[5], "BugaSoapAction", new Object[] {in0});
}
@Override
public StatusCodeWSDTO insertBugaRegistExt(Bu04BugaExtWSDTO in0) throws RemoteException {
return execute(_operations[6], "", new Object[] {in0});
}
@Override
public StatusCodeWSDTO deleteBuga(String in0, String in1, String in2, String in3, String in4, String in5, String in6, String in7) throws RemoteException {
return execute(_operations[7], "", new Object[] {in0, in1, in2, in3, in4, in5, in6, in7});
}
@Override
public Bu04SimpleBugaWSDTO[] getListSimpleBuga(String in0, String in1, String in2) throws RemoteException {
return execute(_operations[8], "", new Object[] {in0, in1, in2});
}
@Override
public Bu04SimpleBugaETCWSDTO getSimpleBuga(String in0, String in1, String in2, String in3, String in4, String in5, String in6) throws RemoteException {
return execute(_operations[9], "", new Object[] {in0, in1, in2, in3, in4, in5, in6});
}
@Override
public Bu04SemokWSRACSDTO getSemokInfoRACS(String in0, String in1, String in2) throws RemoteException {
return execute(_operations[10], "", new Object[] {in0, in1, in2});
}
@Override
public Bu04GyuljeInfoDTO getGyuljeInfo(String in0, String in1, String in2, String in3, String in4, String in5, String in6) throws RemoteException {
return execute(_operations[11], "", new Object[] {in0, in1, in2, in3, in4, in5, in6});
}
@Override
public StatusCodeWSDTO biGwaSeRegistWS(String in0, String in1, String in2, String in3, String in4, String in5, String in6) throws RemoteException {
return execute(_operations[12], "", new Object[] {in0, in1, in2, in3, in4, in5, in6});
}
@Override
public StatusCodeWSDTO updateNapgiYmd(Bu04BugaWSDTO in0) throws RemoteException {
return execute(_operations[13], "", new Object[] {in0});
}
}

@ -0,0 +1,25 @@
package cokr.xit.interfaces.sntris.buga;
import java.net.URL;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceException;
/**
* @Class Name : BugaWebService.java
* @Description :
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public interface BugaWebService extends Service {
public String getBugaWSPortAddress();
public BugaWS getBugaWSPort() throws ServiceException;
public BugaWS getBugaWSPort(URL portAddress) throws ServiceException;
}

@ -0,0 +1,188 @@
package cokr.xit.interfaces.sntris.buga;
import java.net.URL;
import java.rmi.Remote;
import java.util.HashSet;
import java.util.Iterator;
import javax.xml.namespace.QName;
import javax.xml.rpc.ServiceException;
import org.apache.axis.AxisFault;
import org.apache.axis.EngineConfiguration;
import org.apache.axis.client.Service;
import org.apache.axis.client.Stub;
import org.springframework.core.io.ClassPathResource;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.JSON;
import lombok.Getter;
import lombok.Setter;
/**
* @Class Name : BugaWebServiceLocator.java
* @Description :
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
*
* </pre>
*/
public class BugaWebServiceLocator extends Service implements BugaWebService {
private static final long serialVersionUID = 1L;
public BugaWebServiceLocator() {}
public BugaWebServiceLocator(EngineConfiguration config) {
super(config);
}
public BugaWebServiceLocator(String wsdlLoc, QName sName) throws ServiceException {
super(wsdlLoc, sName);
}
// Use to get a proxy class for BugaWSPort
private String BugaWSPort_address = Config.get().getNxrpImposition();
@Override
public String getBugaWSPortAddress() {
return BugaWSPort_address;
}
// The WSDD service name defaults to the port name.
private String BugaWSPortWSDDServiceName = "BugaWSPort";
public String getBugaWSPortWSDDServiceName() {
return BugaWSPortWSDDServiceName;
}
public void setBugaWSPortWSDDServiceName(String name) {
BugaWSPortWSDDServiceName = name;
}
@Override
public BugaWS getBugaWSPort() throws ServiceException {
try {
return getBugaWSPort(new URL(BugaWSPort_address));
} catch (Exception e) {
throw new ServiceException(e);
}
}
@Override
public BugaWS getBugaWSPort(URL portAddress) throws ServiceException {
try {
BugaWSSoapBindingStub _stub = new BugaWSSoapBindingStub(portAddress, this);
_stub.setPortName(getBugaWSPortWSDDServiceName());
return _stub;
} catch (AxisFault e) {
return null;
} catch (Exception e) {
return null;
}
}
public void setBugaWSPortEndpointAddress(String address) {
BugaWSPort_address = address;
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
@Override
public Remote getPort(Class serviceEndpointInterface) throws ServiceException {
try {
if (BugaWS.class.isAssignableFrom(serviceEndpointInterface)) {
BugaWSSoapBindingStub _stub = new BugaWSSoapBindingStub(new URL(BugaWSPort_address), this);
_stub.setPortName(getBugaWSPortWSDDServiceName());
return _stub;
}
throw new ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
} catch (Throwable t) {
throw new ServiceException(t);
}
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
@Override
public Remote getPort(QName portName, Class serviceEndpointInterface) throws ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
String inputPortName = portName.getLocalPart();
if ("BugaWSPort".equals(inputPortName)) {
return getBugaWSPort();
}
else {
Remote _stub = getPort(serviceEndpointInterface);
((Stub) _stub).setPortName(portName);
return _stub;
}
}
@Override
public QName getServiceName() {
return new QName("urn:BugaWebService", "BugaWebService");
}
private HashSet ports = null;
@Override
public Iterator getPorts() {
if (ports == null) {
ports = new HashSet();
ports.add(new QName("urn:BugaWebService", "BugaWSPort"));
}
return ports.iterator();
}
/**Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(String portName, String address) throws ServiceException {
if ("BugaWSPort".equals(portName)) {
setBugaWSPortEndpointAddress(address);
} else { // Unknown Port Name
throw new ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**Set the endpoint address for the specified port name.
*/
public void setEndpointAddress(QName portName, String address) throws ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
@Getter
@Setter
public static class Config extends AbstractComponent {
private static final Config conf;
static {
try {
conf = new JSON().parse(new ClassPathResource("intf-conf/xit-sntris.conf").getInputStream(), Config.class);
} catch (Exception e) {
throw runtimeException(e);
}
}
public static Config get() {
return conf;
}
private String
nxrpImposition,
nxrpSeizure;
}
}

@ -0,0 +1,76 @@
package cokr.xit.interfaces.sntris.buga;
import java.util.List;
import javax.xml.namespace.QName;
import org.apache.axis.constants.Style;
import org.apache.axis.constants.Use;
import org.apache.axis.description.ElementDesc;
import org.apache.axis.description.OperationDesc;
import org.apache.axis.description.ParameterDesc;
import org.apache.axis.description.TypeDesc;
import cokr.xit.foundation.AbstractComponent;
public class Descriptor extends AbstractComponent {
public static QName ofName(String name) {
return new QName("urn:BugaWebService", name);
}
private static final List<String> types = List.of("string", "int", "long", "double");
public static QName ofType(String typeName) {
String str = typeName.toLowerCase().replace("[]", "");
return types.contains(str) ?
new QName("http://www.w3.org/2001/XMLSchema", str) :
ofName(typeName);
}
public static TypeDesc type(Class<?> klass, ElementDesc... elements) {
TypeDesc typeDesc = new TypeDesc(klass, true);
typeDesc.setXmlType(ofName(klass.getSimpleName()));
for (ElementDesc element: elements)
typeDesc.addFieldDesc(element);
return typeDesc;
}
public static ElementDesc field(String name, String type, boolean nullable) {
ElementDesc elemField = new ElementDesc();
elemField.setFieldName(name);
elemField.setXmlName(ofName(name));
elemField.setXmlType(ofType(type));
elemField.setNillable(nullable);
return elemField;
}
public static ParameterDesc parameter(String name, Class<?> klass, boolean nullable) {
String type = klass.getSimpleName();
if (List.of("String").contains(type))
type = type.toLowerCase();
ParameterDesc param = new ParameterDesc(ofName(name), ParameterDesc.IN, ofType(type), klass, false, false);
param.setNillable(nullable);
return param;
}
public static OperationDesc operation(String name, Class<?> returnType, ParameterDesc... params) {
OperationDesc oper = new OperationDesc();
oper.setName(name);
for (ParameterDesc param: params)
oper.addParameter(param);
String type = returnType.getSimpleName();
oper.setReturnType(ofType(type));
oper.setReturnClass(returnType);
oper.setReturnQName(ofName(name + "Return"));
oper.setStyle(Style.WRAPPED);
oper.setUse(Use.LITERAL);
return oper;
}
}

@ -0,0 +1,210 @@
package cokr.xit.interfaces.sntris.buga;
import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;
/**
* @Class Name : StatusCodeWSDTO.java
* @Description :
* @Version 1.0
* @Since 2019. 09. 03
* @Author
* <pre>
*
* ------- ------------- ----------------------
* </pre>
*/
public class StatusCodeWSDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String errorCode;
private String errorMsg;
private String insertAk;
private String insertKey;
private String resultCnt;
public StatusCodeWSDTO() {}
public StatusCodeWSDTO(
String errorCode,
String errorMsg,
String insertAk,
String insertKey,
String resultCnt) {
this.errorCode = errorCode;
this.errorMsg = errorMsg;
this.insertAk = insertAk;
this.insertKey = insertKey;
this.resultCnt = resultCnt;
}
/**Gets the errorCode value for this StatusCodeWSDTO.
* @return errorCode
*/
public String getErrorCode() {
return errorCode;
}
/**Sets the errorCode value for this StatusCodeWSDTO.
* @param errorCode
*/
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
/**Gets the errorMsg value for this StatusCodeWSDTO.
* @return errorMsg
*/
public String getErrorMsg() {
return errorMsg;
}
/**Sets the errorMsg value for this StatusCodeWSDTO.
* @param errorMsg
*/
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
/**Gets the insertAk value for this StatusCodeWSDTO.
* @return insertAk
*/
public String getInsertAk() {
return insertAk;
}
/**Sets the insertAk value for this StatusCodeWSDTO.
* @param insertAk
*/
public void setInsertAk(String insertAk) {
this.insertAk = insertAk;
}
/**Gets the insertKey value for this StatusCodeWSDTO.
* @return insertKey
*/
public String getInsertKey() {
return insertKey;
}
/**Sets the insertKey value for this StatusCodeWSDTO.
* @param insertKey
*/
public void setInsertKey(String insertKey) {
this.insertKey = insertKey;
}
/**Gets the resultCnt value for this StatusCodeWSDTO.
* @return resultCnt
*/
public String getResultCnt() {
return resultCnt;
}
/**Sets the resultCnt value for this StatusCodeWSDTO.
* @param resultCnt
*/
public void setResultCnt(String resultCnt) {
this.resultCnt = resultCnt;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {
if (!(obj instanceof StatusCodeWSDTO)) return false;
StatusCodeWSDTO other = (StatusCodeWSDTO) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.errorCode==null && other.getErrorCode()==null) ||
(this.errorCode!=null &&
this.errorCode.equals(other.getErrorCode()))) &&
((this.errorMsg==null && other.getErrorMsg()==null) ||
(this.errorMsg!=null &&
this.errorMsg.equals(other.getErrorMsg()))) &&
((this.insertAk==null && other.getInsertAk()==null) ||
(this.insertAk!=null &&
this.insertAk.equals(other.getInsertAk()))) &&
((this.insertKey==null && other.getInsertKey()==null) ||
(this.insertKey!=null &&
this.insertKey.equals(other.getInsertKey()))) &&
((this.resultCnt==null && other.getResultCnt()==null) ||
(this.resultCnt!=null &&
this.resultCnt.equals(other.getResultCnt())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
@Override
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getErrorCode() != null) {
_hashCode += getErrorCode().hashCode();
}
if (getErrorMsg() != null) {
_hashCode += getErrorMsg().hashCode();
}
if (getInsertAk() != null) {
_hashCode += getInsertAk().hashCode();
}
if (getInsertKey() != null) {
_hashCode += getInsertKey().hashCode();
}
if (getResultCnt() != null) {
_hashCode += getResultCnt().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static TypeDesc typeDesc = Descriptor.type(
StatusCodeWSDTO.class,
Descriptor.field("errorCode", "string", true),
Descriptor.field("errorMsg", "string", true),
Descriptor.field("insertAk", "string", true),
Descriptor.field("insertKey", "string", true),
Descriptor.field("resultCnt", "string", true)
);
/**Return type metadata object
*/
public static TypeDesc getTypeDesc() {
return typeDesc;
}
/**Get Custom Serializer
*/
public static Serializer getSerializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanSerializer(_javaType, _xmlType, typeDesc);
}
/**Get Custom Deserializer
*/
public static Deserializer getDeserializer(String mechType, Class<?> _javaType, QName _xmlType) {
return new BeanDeserializer(_javaType, _xmlType, typeDesc);
}
@Override
public String toString() {
return "StatusCodeWSDTO [errorCode=" + errorCode + ", errorMsg=" + errorMsg + ", insertAk=" + insertAk
+ ", insertKey=" + insertKey + ", resultCnt=" + resultCnt + ", __equalsCalc=" + __equalsCalc
+ ", __hashCodeCalc=" + __hashCodeCalc + "]";
}
}

@ -0,0 +1,138 @@
package cokr.xit.interfaces.sntris.service;
import cokr.xit.interfaces.sntris.buga.Bu04BugaExtWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04BugaWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04GyuljeInfoDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SemokWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SemokWSRACSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SimpleBugaETCWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SimpleBugaWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04UserInfoWSDTO;
import cokr.xit.interfaces.sntris.buga.StatusCodeWSDTO;
public interface SntrisService {
/** (13) .
* @param userId
* @return
*/
Bu04UserInfoWSDTO getUserInfo(String userId);
/** .
* @param siguCd
* @param buseoCd
* @return
*/
Bu04SemokWSDTO[] getListSemokInfo(String siguCd, String buseoCd);
/** .
* @param siguCd
* @param buseoCd
* @param semokCd
* @return
*/
Bu04SemokWSDTO getSemokInfo(String siguCd, String buseoCd, String semokCd);
/** ( , : RACS) .
* @param siguCd
* @param buseoCd
* @param semokCd
* @return ( , : RACS)
*/
Bu04SemokWSRACSDTO getSemokInfoRACS(String siguCd, String buseoCd, String semokCd);
/** .
* @param siguCd
* @param semokCd
* @param taxYm
* @param taxGubun
* @return
*/
String getNewTaxNo(String siguCd, String semokCd, String taxYm, String taxGubun);
/**/, , .
* @param buchGubun (1) (2)
* @param sysGubun
* @param mulNm
* @return
*/
Bu04SimpleBugaWSDTO[] getListSimpleBuga(String buchGubun, String sysGubun, String mulNm);
/** ( 29 ), .
* @param buchGubun (1) (2)
* @param sysGubun
* @param siguCd
* @param semokCd
* @param taxYm
* @param taxGubun
* @param taxNo
* @return
*/
Bu04SimpleBugaETCWSDTO getSimpleBuga(String buchGubun, String sysGubun, String siguCd, String semokCd, String taxYm, String taxGubun, String taxNo);
/** .
* @param issue
* @return
*/
StatusCodeWSDTO insertBugaRegist(Bu04BugaWSDTO issue);
/** .
* @param issue
* @return
*/
StatusCodeWSDTO insertBugaRegistExt(Bu04BugaExtWSDTO issue);
/** .
* ( / .)
* @param siguCd
* @param buseoCd
* @param semokCd
* @param taxYm
* @param taxGubun
* @param taxNo
* @return
*/
boolean isCheckBugaUpdate(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo);
/** ( )
* @param siguCd
* @param buseoCd
* @param semokCd
* @param taxYm
* @param taxGubun
* @param taxNo
* @param lastWorkId
* @param sysGubun
* @return
*/
StatusCodeWSDTO deleteBuga(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String lastWorkId, String sysGubun);
/** .
* @param siguCd
* @param buseoCd
* @param semokCd
* @param taxYm
* @param taxGubun
* @param taxNo
* @param buDcGubun
* @return
*/
StatusCodeWSDTO biGwaSeRegistWS(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String buDcGubun);
/** .
* @param siguCd
* @param semokCd
* @param taxYm
* @param taxGubun
* @param buseoCd
* @param taxNo
* @param lastWorkId
* @return
*/
Bu04GyuljeInfoDTO getGyuljeInfo(String siguCd, String semokCd, String taxYm, String taxGubun, String buseoCd, String taxNo, String lastWorkId);
/** .
* @param issue
* @return
*/
StatusCodeWSDTO updateNapgiYmd(Bu04BugaWSDTO issue);
}

@ -0,0 +1,148 @@
package cokr.xit.interfaces.sntris.service.bean;
import org.springframework.stereotype.Service;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.interfaces.sntris.buga.Bu04BugaExtWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04BugaWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04GyuljeInfoDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SemokWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SemokWSRACSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SimpleBugaETCWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SimpleBugaWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04UserInfoWSDTO;
import cokr.xit.interfaces.sntris.buga.BugaWS;
import cokr.xit.interfaces.sntris.buga.BugaWSProxy;
import cokr.xit.interfaces.sntris.buga.StatusCodeWSDTO;
import cokr.xit.interfaces.sntris.service.SntrisService;
@Service("sntrisService")
public class SntrisServiceBean extends AbstractServiceBean implements SntrisService {
private BugaWS bugaWS = new BugaWSProxy();
@Override
public Bu04UserInfoWSDTO getUserInfo(String userId) {
try {
return bugaWS.getUserInfo(userId);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public Bu04SemokWSDTO[] getListSemokInfo(String siguCd, String buseoCd) {
try {
return bugaWS.getListSemokInfo(siguCd, buseoCd);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public Bu04SemokWSDTO getSemokInfo(String siguCd, String buseoCd, String semokCd) {
try {
return bugaWS.getSemokInfo(siguCd, buseoCd, semokCd);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public Bu04SemokWSRACSDTO getSemokInfoRACS(String siguCd, String buseoCd, String semokCd) {
try {
return bugaWS.getSemokInfoRACS(siguCd, buseoCd, semokCd);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public String getNewTaxNo(String siguCd, String semokCd, String taxYm, String taxGubun) {
try {
return bugaWS.getNewTaxNo(siguCd, semokCd, taxYm, taxGubun);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public Bu04SimpleBugaWSDTO[] getListSimpleBuga(String buchGubun, String sysGubun, String mulNm) {
try {
return bugaWS.getListSimpleBuga(buchGubun, sysGubun, mulNm);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public Bu04SimpleBugaETCWSDTO getSimpleBuga(String buchGubun, String sysGubun, String siguCd, String semokCd, String taxYm, String taxGubun, String taxNo) {
try {
return bugaWS.getSimpleBuga(buchGubun, sysGubun, siguCd, semokCd, taxYm, taxGubun, taxNo);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public StatusCodeWSDTO insertBugaRegist(Bu04BugaWSDTO issue) {
try {
return bugaWS.insertBugaRegist(issue);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public StatusCodeWSDTO insertBugaRegistExt(Bu04BugaExtWSDTO issue) {
try {
return bugaWS.insertBugaRegistExt(issue);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public boolean isCheckBugaUpdate(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo) {
try {
return bugaWS.isCheckBugaUpdate(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public StatusCodeWSDTO deleteBuga(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String lastWorkId, String sysGubun) {
try {
return bugaWS.deleteBuga(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo, lastWorkId, sysGubun);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public StatusCodeWSDTO biGwaSeRegistWS(String siguCd, String buseoCd, String semokCd, String taxYm, String taxGubun, String taxNo, String buDcGubun) {
try {
return bugaWS.biGwaSeRegistWS(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo, buDcGubun);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public Bu04GyuljeInfoDTO getGyuljeInfo(String siguCd, String semokCd, String taxYm, String taxGubun, String buseoCd, String taxNo, String lastWorkId) {
try {
return bugaWS.getGyuljeInfo(siguCd, semokCd, taxYm, taxGubun, buseoCd, taxNo, lastWorkId);
} catch (Exception e) {
throw applicationException(e);
}
}
@Override
public StatusCodeWSDTO updateNapgiYmd(Bu04BugaWSDTO issue) {
try {
return bugaWS.updateNapgiYmd(issue);
} catch (Exception e) {
throw applicationException(e);
}
}
}

@ -0,0 +1,174 @@
package cokr.xit.interfaces.sntris.web;
import javax.annotation.Resource;
import org.springframework.http.MediaType;
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.sntris.buga.Bu04BugaExtWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04BugaWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04GyuljeInfoDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SemokWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SemokWSRACSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SimpleBugaETCWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04SimpleBugaWSDTO;
import cokr.xit.interfaces.sntris.buga.Bu04UserInfoWSDTO;
import cokr.xit.interfaces.sntris.buga.StatusCodeWSDTO;
import cokr.xit.interfaces.sntris.service.SntrisService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
@RestController
@RequestMapping(name = "서울 세외수입 부과 연계", value = "/intf/sntris", produces = MediaType.APPLICATION_JSON_VALUE)
public class SntrisController extends AbstractController {
@Resource(name = "sntrisService")
private SntrisService sntrisService;
@PostMapping(name = "사용자 정보 조회", value = "/userInfo")
@Operation(summary = "사용자 정보 조회", tags = "사용자 정보")
public Bu04UserInfoWSDTO getUserInfo(@Parameter(description = "사용자 인사대체키") String userId) {
return sntrisService.getUserInfo(userId);
}
@PostMapping(name = "세목목록 조회", value = "/semok/list")
@Operation(summary = "세목목록 조회", tags = "세목정보")
public Bu04SemokWSDTO[] getListSemokInfo(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "부서코드") String buseoCd
) {
return sntrisService.getListSemokInfo(siguCd, buseoCd);
}
@PostMapping(name = "세목정보 조회", value = "/semok/info")
@Operation(summary = "세목정보 조회", tags = "세목정보")
public Bu04SemokWSDTO getSemokInfo(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "부서코드") String buseoCd,
@Parameter(description = "세목코드") String semokCd
) {
return sntrisService.getSemokInfo(siguCd, buseoCd, semokCd);
}
@PostMapping(name = "세목정보(RACS) 조회", value = "/semok/infoRACS")
@Operation(summary = "세목정보(RACS) 조회", tags = "세목정보")
public Bu04SemokWSRACSDTO getSemokInfoRACS(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "부서코드") String buseoCd,
@Parameter(description = "세목코드") String semokCd
) {
return sntrisService.getSemokInfoRACS(siguCd, buseoCd, semokCd);
}
@PostMapping(name = "과세번호 생성", value = "/newTaxNo")
@Operation(summary = "과세번호 생성", tags = "과세")
public String getNewTaxNo(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "세목코드") String semokCd,
@Parameter(description = "과세년월") String taxYm,
@Parameter(description = "과세구분") String taxGubun
) {
return sntrisService.getNewTaxNo(siguCd, semokCd, taxYm, taxGubun);
}
@PostMapping(name = "단순 부과목록 조회", value = "/bugwa/list")
@Operation(summary = "단순 부과목록 조회", tags = "부과정보")
public Bu04SimpleBugaWSDTO[] getListSimpleBuga(
@Parameter(description = "부과 체납 구분") String buchGubun,
@Parameter(description = "시스템 구분") String sysGubun,
@Parameter(description = "물건명") String mulNm
) {
return sntrisService.getListSimpleBuga(buchGubun, sysGubun, mulNm);
}
@PostMapping(name = "단순 부과정보 조회", value = "/bugwa/info")
@Operation(summary = "단순 부과정보 조회", tags = "부과정보")
public Bu04SimpleBugaETCWSDTO getSimpleBuga(
@Parameter(description = "부과 체납 구분") String buchGubun,
@Parameter(description = "시스템 구분") String sysGubun,
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "세목코드") String semokCd,
@Parameter(description = "과세년월") String taxYm,
@Parameter(description = "과세구분") String taxGubun,
@Parameter(description = "과세번호") String taxNo
) {
return sntrisService.getSimpleBuga(buchGubun, sysGubun, siguCd, semokCd, taxYm, taxGubun, taxNo);
}
@PostMapping(name = "부과 등록", value = "/bugwa/regist")
@Operation(summary = "부과 등록", tags = "부과정보")
public StatusCodeWSDTO insertBugaRegist(@Parameter(description = "부과정보") @RequestBody Bu04BugaWSDTO issue) {
return sntrisService.insertBugaRegist(issue);
}
@PostMapping(name = "부과 등록(확장)", value = "/bugwa/registExt")
@Operation(summary = "부과 등록(확장)", tags = "부과정보")
public StatusCodeWSDTO insertBugaRegistExt(@Parameter(description = "부과정보") @RequestBody Bu04BugaExtWSDTO issue) {
return sntrisService.insertBugaRegistExt(issue);
}
@PostMapping(name = "부과수정 가능여부", value = "/bugwa/checkUpdate")
@Operation(summary = "부과수정 가능여부", tags = "부과정보")
public boolean isCheckBugaUpdate(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "부서코드") String buseoCd,
@Parameter(description = "세목코드") String semokCd,
@Parameter(description = "과세년월") String taxYm,
@Parameter(description = "과세구분") String taxGubun,
@Parameter(description = "과세번호") String taxNo
) {
return sntrisService.isCheckBugaUpdate(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo);
}
@PostMapping(name = "비과세 등록", value = "/bigwase/regist")
@Operation(summary = "비과세 등록", tags = "과세")
public StatusCodeWSDTO biGwaSeRegistWS(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "부서코드") String buseoCd,
@Parameter(description = "세목코드") String semokCd,
@Parameter(description = "과세년월") String taxYm,
@Parameter(description = "과세구분") String taxGubun,
@Parameter(description = "과세번호") String taxNo,
@Parameter(description = "") String buDcGubun
) {
return sntrisService.biGwaSeRegistWS(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo, buDcGubun);
}
@PostMapping(name = "부과 삭제", value = "/bugwa/delete")
@Operation(summary = "부과 삭제", tags = "부과정보")
public StatusCodeWSDTO deleteBuga(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "부서코드") String buseoCd,
@Parameter(description = "세목코드") String semokCd,
@Parameter(description = "과세년월") String taxYm,
@Parameter(description = "과세구분") String taxGubun,
@Parameter(description = "과세번호") String taxNo,
@Parameter(description = "담당자 인사대체키") String lastWorkId,
@Parameter(description = "시스템 구분") String sysGubun
) {
return sntrisService.deleteBuga(siguCd, buseoCd, semokCd, taxYm, taxGubun, taxNo, lastWorkId, sysGubun);
}
@PostMapping(name = "결재정보 조회", value = "/gyuljeInfo")
@Operation(summary = "결재정보 조회", tags = "결재정보")
public Bu04GyuljeInfoDTO getGyuljeInfo(
@Parameter(description = "시구코드") String siguCd,
@Parameter(description = "세목코드") String semokCd,
@Parameter(description = "과세년월") String taxYm,
@Parameter(description = "과세구분") String taxGubun,
@Parameter(description = "부서코드") String buseoCd,
@Parameter(description = "과세번호") String taxNo,
@Parameter(description = "담당자 인사대체키") String lastWorkId
) {
return sntrisService.getGyuljeInfo(siguCd, semokCd, taxYm, taxGubun, buseoCd, taxNo, lastWorkId);
}
@PostMapping(name = "납기일 수정", value = "/napgi/update")
@Operation(summary = "납기일 수정", tags = "납기일")
public StatusCodeWSDTO updateNapgiYmd(@Parameter(description = "부과정보") @RequestBody Bu04BugaWSDTO issue) {
return sntrisService.updateNapgiYmd(issue);
}
}

@ -0,0 +1,4 @@
{
"nxrpImposition": "", /* 세외수입 부과 wsdl url */
"nxrpSeizure": "" /* 세외수입 압류 wsdl url */
}

@ -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,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 60초마다 설정 파일의 변경을 확인 하여 변경시 갱신 -->
<configuration scan="true" scanPeriod="60 seconds">
<property name="applicationName" value="xit-lvis"/>
<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" additivity="false"/>
<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="false"/>
<logger name="org.apache" level="OFF" additivity="false"/>
<logger name="com.zaxxer" level="OFF" additivity="false"/>
<logger name="org.apache.commons" level="OFF" additivity="false"/>
<logger name="org.mariadb" level="OFF" additivity="false"/>
<logger name="jdbc.connection" level="OFF" additivity="false"/>
<logger name="jdbc.sqlonly" level="OFF" additivity="false"/>
<logger name="jdbc.resultset" level="OFF" additivity="false"/>
<logger name="jdbc.resultsettable" level="OFF" additivity="false"/>
<!--
<logger name="jdbc" level="OFF" additivity="false"/>
<logger name="jdbc.sqltiming" level="DEBUG" />
<logger name="jdbc.audit" level="OFF" additivity="false"/>
-->
<logger name="org.quartz" level="Error" 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,2 @@
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl

@ -0,0 +1,9 @@
<?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"
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">
</beans>

@ -0,0 +1,68 @@
<?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:message/authentication-message</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*:intf-conf/xit-lvis.properties"/>
</map>
</set>
</property>
</bean>
<bean id="leaveaTrace" class="org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace" />
</beans>

@ -0,0 +1,59 @@
<?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="databaseIdProvider" class="org.apache.ibatis.mapping.VendorDatabaseIdProvider">
<property name="properties">
<props>
<prop key="Oracle">oracle</prop>
<prop key="MariaDB">mariadb</prop>
</props>
</property>
</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"
p:databaseIdProvider-ref="databaseIdProvider"/>
<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>

@ -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,37 @@
<?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"><if test="_databaseId == 'mariadb'">DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s')</if>
<if test="_databaseId == 'oracle'">TO_CHAR(CURRENT_TIMESTAMP, 'YYYYMMDDHH24MISS')</if></sql>
<sql id="selectNow">SELECT<include refid="utility.now" />NOW FROM DUAL</sql>
<sql id="today"><if test="_databaseId == 'mariadb'">DATE_FORMAT(CURRENT_DATE, '%Y%m%d')</if>
<if test="_databaseId == 'oracle'">TO_CHAR(CURRENT_DATE, 'YYYYMMDD')</if></sql>
<sql id="selectToday">SELECT<include refid="utility.today" />TODAY FROM DUAL</sql>
<sql id="thisDay">NVL(#{thisDay},<include refid="utility.today" />)</sql>
<sql id="selectThisDay">SELECT<include refid="utility.thisDay" />THIS_DAY FROM DUAL</sql>
</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.MapperSupport" />
</plugins>
</configuration>

@ -0,0 +1,91 @@
CREATE TABLE TB_BASIC_INFO_LOG (
LOG_ID VARCHAR(15) NOT NULL COMMENT '로그 아이디',
PRYE VARCHAR(4) COMMENT '연식',
REGIST_DE VARCHAR(8) COMMENT '등록일(변경일)',
ERSR_REGIST_SE_CODE VARCHAR(4) COMMENT '말소등록구분코드',
ERSR_REGIST_SE_NM VARCHAR(20) COMMENT '말소등록구분명',
ERSR_REGIST_DE VARCHAR(8) COMMENT '말소등록일',
REGIST_DETAIL_CODE VARCHAR(3) COMMENT '등록상세코드',
DSPLVL VARCHAR(6) COMMENT '배기량',
USE_STRNGHLD_LEGALDONG_CODE VARCHAR(10) COMMENT '사용본거지법정동코드',
USE_STRNGHLD_ADSTRD_CODE VARCHAR(10) COMMENT '사용본거지행정동코드',
USE_STRNGHLD_MNTN VARCHAR(2) COMMENT '사용본거지산',
USE_STRNGHLD_LNBR VARCHAR(4) COMMENT '사용본거지번지',
USE_STRNGHLD_HO VARCHAR(4) COMMENT '사용본거지호',
USE_STRNGHLD_ADRES_NM VARCHAR(150) COMMENT '사용본거지상세주소',
USE_STRNGHLD_ROAD_NM_CODE VARCHAR(12) COMMENT '사용본거지도로명코드',
USGSRHLD_UNDGRND_BULD_SE_CODE VARCHAR(1) COMMENT '사용본거지지하건물구분코드',
USE_STRNGHLD_BULD_MAIN_NO VARCHAR(5) COMMENT '사용본거지건물주요번호',
USE_STRNGHLD_BULD_SUB_NO VARCHAR(5) COMMENT '사용본거지건물부번호',
MBER_SE_CODE VARCHAR(2) COMMENT '대표소유자회원구분코드',
MBER_NM VARCHAR(50) COMMENT '대표소유자성명',
MBER_SE_NO VARCHAR(13) COMMENT '대표소유자회원번호',
TELNO VARCHAR(20) COMMENT '대표소유자전화번호',
OWNER_LEGALDONG_CODE VARCHAR(10) COMMENT '소유자법정동코드',
OWNER_ADSTRD_CODE VARCHAR(10) COMMENT '소유자행정동코드',
OWNER_MNTN VARCHAR(2) COMMENT '소유자산',
OWNER_LNBR VARCHAR(4) COMMENT '소유자번지',
OWNER_HO VARCHAR(4) COMMENT '소유자호',
OWNER_ADRES_NM VARCHAR(150) COMMENT '소유자상세주소',
OWNER_ROAD_NM_CODE VARCHAR(12) COMMENT '소유자도로명코드',
OWNER_UNDGRND_BULD_SE_CODE VARCHAR(1) COMMENT '소유자지하건물구분코드',
OWNER_BULD_MAIN_NO VARCHAR(5) COMMENT '소유자건물주요번호',
OWNER_BULD_SUB_NO VARCHAR(5) COMMENT '소유자건물부번호',
OWNER_ADRES_FULL VARCHAR(500) COMMENT '소유자전체주소',
AFTR_VHRNO VARCHAR(16) COMMENT '신차량번호',
USE_FUEL_CODE VARCHAR(1) COMMENT '사용연료코드',
PRPOS_SE_CODE VARCHAR(2) COMMENT '용도구분코드',
MTRS_FOM_NM VARCHAR(50) COMMENT '원동기형식명',
FRNT_VHRNO VARCHAR(16) COMMENT '이전차량번호',
VHRNO VARCHAR(16) COMMENT '차량번호',
VIN VARCHAR(17) COMMENT '차대번호',
CNM VARCHAR(50) COMMENT '차명',
VHCLE_TOT_WT VARCHAR(6) COMMENT '차량총중량',
CAAG_ENDDE VARCHAR(8) COMMENT '차령만료일자',
CHANGE_DE VARCHAR(8) COMMENT '차번호변경시기',
VHCTY_ASORT_CODE VARCHAR(1) COMMENT '차종종별코드',
VHCTY_TY_CODE VARCHAR(1) COMMENT '차종유형코드',
VHCTY_SE_CODE VARCHAR(1) COMMENT '차종분류코드',
MXMM_LDG VARCHAR(10) COMMENT '최대적재량',
VHCTY_ASORT_NM VARCHAR(100) COMMENT '차종종별명',
VHCTY_TY_NM VARCHAR(100) COMMENT '차종유형명',
VHCTY_SE_NM VARCHAR(100) COMMENT '차종분류명',
FRST_REGIST_DE VARCHAR(8) COMMENT '최초등록일',
FOM_NM VARCHAR(50) COMMENT '형식',
ACQS_DE VARCHAR(8) COMMENT '취득일자',
ACQS_END_DE VARCHAR(8) COMMENT '취득종료일자',
YBL_MD VARCHAR(8) COMMENT '제작년월일',
TRANSR_REGIST_DE VARCHAR(8) COMMENT '이전등록일(양수일)',
SPCF_REGIST_STTUS_CODE VARCHAR(6) COMMENT '제원등록상태코드',
COLOR_NM VARCHAR(50) COMMENT '색상명',
MRTG_CO INT COMMENT '저당수',
SEIZR_CO INT COMMENT '압류건수',
STMD_CO INT COMMENT '구조변경수',
NMPL_CSDY_AT VARCHAR(1) COMMENT '번호판영치여부',
NMPL_CSDY_REMNR_DE VARCHAR(8) COMMENT '번호판영치최고일',
ORIGIN_SE_CODE VARCHAR(1) COMMENT '출처구분코드',
NMPL_STNDRD_CODE VARCHAR(1) COMMENT '번호판규격코드',
ACQS_AMOUNT VARCHAR(50) COMMENT '취득금액',
INSPT_VALID_PD_BGNDE VARCHAR(8) COMMENT '검사유효기간시작일',
INSPT_VALID_PD_ENDDE VARCHAR(8) COMMENT '검사유효기간종료일',
CHCK_VALID_PD_BGNDE VARCHAR(8) COMMENT '점검유효기간시작일',
CHCK_VALID_PD_ENDDE VARCHAR(8) COMMENT '점검유효기간종료일',
USE_STRNGHLD_GRC_CODE VARCHAR(4) COMMENT '사용본거지관청코드',
TKCAR_PSCAP_CO INT COMMENT '승차정원수',
SPMNNO VARCHAR(17) COMMENT '제원관리번호',
TRVL_DSTNC VARCHAR(10) COMMENT '주행거리',
FRST_REGIST_RQRCNO VARCHAR(20) COMMENT '최초등록접수번호',
VLNT_ERSR_PRVNTC_NTICE_DE VARCHAR(8) COMMENT '예고통지일',
REGIST_INSTT_NM VARCHAR(100) COMMENT '등록기관명',
PROCESS_IMPRTY_RESN_CODE VARCHAR(2) COMMENT '처리불가사유코드',
PROCESS_IMPRTY_RESN_DTLS VARCHAR(50) COMMENT '처리불가사유명세',
VIMS_PRPOS_SE_CODE VARCHAR(2) COMMENT '용도구분코드',
VIMS_VHCTY_ASORT_CODE VARCHAR(1) COMMENT '차종종별코드',
VIMS_VHCTY_TY_CODE VARCHAR(1) COMMENT '차종유형코드',
VIMS_VHCTY_SE_CODE VARCHAR(1) COMMENT '차종분류코드',
CBD_LT VARCHAR(10) COMMENT '차체길이',
CBD_BT VARCHAR(10) COMMENT '차체너비',
CBD_HG VARCHAR(10) COMMENT '차체높이',
FRST_MXMM_LDG VARCHAR(10) COMMENT '최초최대적재량',
PRIMARY KEY (LOG_ID)
) COMMENT = '자동차 기본사항 조회 로그';
Loading…
Cancel
Save