최초 커밋

master
mjkhan21 2 years ago
commit 18dff0f041

@ -0,0 +1,36 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cokr.xit.interfaces</groupId>
<artifactId>xit-lvis-rest</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>lvis-rest Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>cokr.xit.interfaces</groupId>
<artifactId>xit-lvis</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>xit-lvis-rest</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
</plugin>
</plugins>
</build>
</project>

@ -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,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration>
<Configuration>
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss,SSS} %5p [%c{1}] %m%n" />
</Console>
<RollingFile name="file" fileName="./logs/xit-lvis.log" filePattern="./logs/xit-lvis.%d{yy-MM-dd}.log" append="false">
<PatternLayout pattern="%d{HH:mm:ss,SSS} %5p [%c{1}] %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true"/>
</Policies>
</RollingFile>
</Appenders>
<Loggers>
<Logger name="org.springframework" level="INFO" additivity="false">
<AppenderRef ref="console" />
<AppenderRef ref="file" />
</Logger>
<Logger name="egovframework" level="INFO" additivity="false">
<AppenderRef ref="console" />
<AppenderRef ref="file" />
</Logger>
<Logger name="cokr.xit" level="DEBUG" additivity="false">
<AppenderRef ref="console" />
<AppenderRef ref="file" />
</Logger>
<!-- log SQL with timing information, post execution -->
<Logger name="jdbc.audit" level="OFF" />
<Logger name="jdbc.sqlonly" level="OFF" />
<Logger name="jdbc.resultset" level="OFF" />
<Logger name="jdbc.resultsettable" level="OFF" />
<Logger name="jdbc.sqltiming" level="DEBUG" additivity="false">
<AppenderRef ref="console" />
</Logger>
<Root level="DEBUG">
<AppenderRef ref="console" />
<AppenderRef ref="file" />
</Root>
</Loggers>
</Configuration>

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

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

@ -0,0 +1,34 @@
#\uc2dc\uad70\uad6c\ucf54\ub4dc(\ud544\uc218)
lvis.sigungu.code=28000
#\ub2f4\ub2f9\uc790 \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638
lvis.charger.ihinum=
#\ub2f4\ub2f9\uc790 IP \uc5b4\ub4dc\ub808\uc2a4
lvis.charger.ip_adres=
#\ub2f4\ub2f9\uc790\uba85
lvis.charger.nm=\uc774\uad11\uc9c4
#\ub2f4\ub2f9\uc790 \uc5f0\ub77d\ucc98
lvis.charger.wrc_telno=032-440-3963
#\uc815\ubcf4\uc2dc\uc2a4\ud15c ID(\ud544\uc218)
lvis.info_sys.id=28-230
#\uc815\ubcf4\uc2dc\uc2a4\ud15c IP(\ud544\uc218)
lvis.info_sys.ip=101.0.115.13
#\uc815\ubcf4\uc2dc\uc2a4\ud15c MAC \uc5b4\ub4dc\ub808\uc2a4
lvis.info_sys.macaddress=EC:EB:B8:97:F2:14
#\uc554\ud638\ud654\ud0a4
lvis.enc.key=0BCE7F19897CEA91
#\uc554\ud638\ud654\ud0a4 \uadf8\ub8f9
lvis.enc.key_group=1
#\uc554\ud638\ud654\ud0a4 \ubc88\ud638
lvis.enc.key_no=1
#lvis \uc0ac\uc6a9 \uc11c\ube44\uc2a4 (production || test)
lvis.host.active=test
#lvis \uc6b4\uc601 \uc11c\ube44\uc2a4 \uc8fc\uc18c
lvis.host.production=http://auto.car.go.kr:39700/lvis/services/WsFrontController
#lvis \ud14c\uc2a4\ud2b8 \uc11c\ube44\uc2a4 \uc8fc\uc18c
lvis.host.test=http://10.98.198.199:9700/lvis/services/WsFrontController
#\uc790\ub3d9\ucc28 \uae30\ubcf8\uc0ac\ud56d \uc870\ud68c \ub85c\uadf8 \uc800\uc7a5 \uc5ec\ubd80(true || false)
lvis.log.basicInfo=true

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

@ -0,0 +1,45 @@
<?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://localhost:3306/xit-base?useUnicode=true&amp;characterEncoding=utf8&amp;serverTimezone=Asia/Seoul&amp;useSSL=false" />
<property name="username" value="root"/>
<property name="password" value="mjkhan"/>
</bean>
<bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean"
p:dataSource-ref="dataSource"
p:configLocation="classpath:sql/mybatis-config.xml"
p:mapperLocations="classpath:sql/mapper/**/*.xml"
/>
<bean id="mapperConfigurer" class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
<property name="basePackage" value="cokr.xit" />
<property name="sqlSessionFactoryBeanName" value="sqlSession"/>
</bean>
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"/>
</bean>
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="*" rollback-for="Exception"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="serviceMethod" expression="execution(* cokr.xit..service.bean..*ServiceBean.*(..))" />
<aop:pointcut id="requiredTx" expression="execution(* cokr.xit..service.bean..*ServiceBean.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="requiredTx" />
</aop:config>
</beans>

@ -0,0 +1,39 @@
<?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:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<mvc:annotation-driven />
<context:component-scan base-package="cokr.xit" use-default-filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
<context:include-filter type="annotation" expression="org.springframework.web.bind.annotation.ControllerAdvice"/>
</context:component-scan>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/**"/>
<bean class="cokr.xit.foundation.web.AccessInitializer" />
</mvc:interceptor>
</mvc:interceptors>
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0"/>
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="1"
p:viewClass="org.springframework.web.servlet.view.JstlView"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"
p:exposeContextBeansAsAttributes="true"/>
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView">
<property name="contentType" value="application/json;charset=UTF-8"/>
<property name="objectMapper" ref="objectMapper"/>
</bean>
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="1073741824" /> <!-- 단위: byte, 1GB=1,073,741,824 byte -->
<property name="maxInMemorySize" value="1073741824" /> <!-- 단위: byte, 1GB=1,073,741,824 byte -->
</bean>
</beans>

@ -0,0 +1,14 @@
<?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="test">
<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,27 @@
<?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="thisDay">IFNULL(#{thisDay}, TO_CHAR(CURRENT_DATE, 'YYYYMMDD'))</sql>
<sql id="selectThisDay">SELECT<include refid="utility.thisDay" />THIS_DAY</sql>
</mapper>

@ -0,0 +1,186 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cokr.xit.interfaces.lvis.dao.VehicleInfoMapper">
<insert id="insertBasicInfo" parameterType="map">/* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */
INSERT INTO TBL_BASIC_INFO_LOG (
LOG_ID
, PRYE <!-- 연식 -->
, REGIST_DE <!-- 등록일(변경일) -->
, ERSR_REGIST_SE_CODE <!-- 말소등록구분코드 -->
, ERSR_REGIST_SE_NM <!-- 말소등록구분명 -->
, ERSR_REGIST_DE <!-- 말소등록일 -->
, REGIST_DETAIL_CODE <!-- 등록상세코드 -->
, DSPLVL <!-- 배기량 -->
, USE_STRNGHLD_LEGALDONG_CODE <!-- 사용본거지법정동코드 -->
, USE_STRNGHLD_ADSTRD_CODE <!-- 사용본거지행정동코드 -->
, USE_STRNGHLD_MNTN <!-- 사용본거지산 -->
, USE_STRNGHLD_LNBR <!-- 사용본거지번지 -->
, USE_STRNGHLD_HO <!-- 사용본거지호 -->
, USE_STRNGHLD_ADRES_NM <!-- 사용본거지상세주소 -->
, USE_STRNGHLD_ROAD_NM_CODE <!-- 사용본거지도로명코드 -->
, USGSRHLD_UNDGRND_BULD_SE_CODE <!-- 사용본거지지하건물구분코드 -->
, USE_STRNGHLD_BULD_MAIN_NO <!-- 사용본거지건물주요번호 -->
, USE_STRNGHLD_BULD_SUB_NO <!-- 사용본거지건물부번호 -->
, MBER_SE_CODE <!-- 대표소유자회원구분코드 -->
, MBER_NM <!-- 대표소유자성명 -->
, MBER_SE_NO <!-- 대표소유자회원번호 -->
, TELNO <!-- 대표소유자전화번호 -->
, OWNER_LEGALDONG_CODE <!-- 소유자법정동코드 -->
, OWNER_ADSTRD_CODE <!-- 소유자행정동코드 -->
, OWNER_MNTN <!-- 소유자산 -->
, OWNER_LNBR <!-- 소유자번지 -->
, OWNER_HO <!-- 소유자호 -->
, OWNER_ADRES_NM <!-- 소유자상세주소 -->
, OWNER_ROAD_NM_CODE <!-- 소유자도로명코드 -->
, OWNER_UNDGRND_BULD_SE_CODE <!-- 소유자지하건물구분코드 -->
, OWNER_BULD_MAIN_NO <!-- 소유자건물주요번호 -->
, OWNER_BULD_SUB_NO <!-- 소유자건물부번호 -->
, OWNER_ADRES_FULL <!-- 소유자전체주소 -->
, AFTR_VHRNO <!-- 신차량번호 -->
, USE_FUEL_CODE <!-- 사용연료코드 -->
, PRPOS_SE_CODE <!-- 용도구분코드 -->
, MTRS_FOM_NM <!-- 원동기형식명 -->
, FRNT_VHRNO <!-- 이전차량번호 -->
, VHRNO <!-- 차량번호 -->
, VIN <!-- 차대번호 -->
, CNM <!-- 차명 -->
, VHCLE_TOT_WT <!-- 차량총중량 -->
, CAAG_ENDDE <!-- 차령만료일자 -->
, CHANGE_DE <!-- 차번호변경시기 -->
, VHCTY_ASORT_CODE <!-- 차종종별코드 -->
, VHCTY_TY_CODE <!-- 차종유형코드 -->
, VHCTY_SE_CODE <!-- 차종분류코드 -->
, MXMM_LDG <!-- 최대적재량 -->
, VHCTY_ASORT_NM <!-- 차종종별명 -->
, VHCTY_TY_NM <!-- 차종유형명 -->
, VHCTY_SE_NM <!-- 차종분류명 -->
, FRST_REGIST_DE <!-- 최초등록일 -->
, FOM_NM <!-- 형식 -->
, ACQS_DE <!-- 취득일자 -->
, ACQS_END_DE <!-- 취득종료일자 -->
, YBL_MD <!-- 제작년월일 -->
, TRANSR_REGIST_DE <!-- 이전등록일(양수일) -->
, SPCF_REGIST_STTUS_CODE <!-- 제원등록상태코드 -->
, COLOR_NM <!-- 색상명 -->
, MRTG_CO <!-- 저당수 -->
, SEIZR_CO <!-- 압류건수 -->
, STMD_CO <!-- 구조변경수 -->
, NMPL_CSDY_AT <!-- 번호판영치여부 -->
, NMPL_CSDY_REMNR_DE <!-- 번호판영치최고일 -->
, ORIGIN_SE_CODE <!-- 출처구분코드 -->
, NMPL_STNDRD_CODE <!-- 번호판규격코드 -->
, ACQS_AMOUNT <!-- 취득금액 -->
, INSPT_VALID_PD_BGNDE <!-- 검사유효기간시작일 -->
, INSPT_VALID_PD_ENDDE <!-- 검사유효기간종료일 -->
, CHCK_VALID_PD_BGNDE <!-- 점검유효기간시작일 -->
, CHCK_VALID_PD_ENDDE <!-- 점검유효기간종료일 -->
, USE_STRNGHLD_GRC_CODE <!-- 사용본거지관청코드 -->
, TKCAR_PSCAP_CO <!-- 승차정원수 -->
, SPMNNO <!-- 제원관리번호 -->
, TRVL_DSTNC <!-- 주행거리 -->
, FRST_REGIST_RQRCNO <!-- 최초등록접수번호 -->
, VLNT_ERSR_PRVNTC_NTICE_DE <!-- 예고통지일 -->
, REGIST_INSTT_NM <!-- 등록기관명 -->
, PROCESS_IMPRTY_RESN_CODE <!-- 처리불가사유코드 -->
, PROCESS_IMPRTY_RESN_DTLS <!-- 처리불가사유명세 -->
, VIMS_PRPOS_SE_CODE <!-- 용도구분코드 -->
, VIMS_VHCTY_ASORT_CODE <!-- 차종종별코드 -->
, VIMS_VHCTY_TY_CODE <!-- 차종유형코드 -->
, VIMS_VHCTY_SE_CODE <!-- 차종분류코드 -->
, CBD_LT <!-- 차체길이 -->
, CBD_BT <!-- 차체너비 -->
, CBD_HG <!-- 차체높이 -->
, FRST_MXMM_LDG <!-- 최초최대적재량 -->
) VALUES (
TO_CHAR(CURRENT_TIMESTAMP(), 'YYMMDD-HH24MISS')
, #{prye} <!-- 연식 -->
, #{regist_de} <!-- 등록일(변경일) -->
, #{ersr_regist_se_code} <!-- 말소등록구분코드 -->
, #{ersr_regist_se_nm} <!-- 말소등록구분명 -->
, #{ersr_regist_de} <!-- 말소등록일 -->
, #{regist_detail_code} <!-- 등록상세코드 -->
, #{dsplvl} <!-- 배기량 -->
, #{use_strnghld_legaldong_code} <!-- 사용본거지법정동코드 -->
, #{use_strnghld_adstrd_code} <!-- 사용본거지행정동코드 -->
, #{use_strnghld_mntn} <!-- 사용본거지산 -->
, #{use_strnghld_lnbr} <!-- 사용본거지번지 -->
, #{use_strnghld_ho} <!-- 사용본거지호 -->
, #{use_strnghld_adres_nm} <!-- 사용본거지상세주소 -->
, #{use_strnghld_road_nm_code} <!-- 사용본거지도로명코드 -->
, #{usgsrhld_undgrnd_buld_se_code} <!-- 사용본거지지하건물구분코드 -->
, #{use_strnghld_buld_main_no} <!-- 사용본거지건물주요번호 -->
, #{use_strnghld_buld_sub_no} <!-- 사용본거지건물부번호 -->
, #{mber_se_code} <!-- 대표소유자회원구분코드 -->
, #{mber_nm} <!-- 대표소유자성명 -->
, #{mber_se_no} <!-- 대표소유자회원번호 -->
, #{telno} <!-- 대표소유자전화번호 -->
, #{owner_legaldong_code} <!-- 소유자법정동코드 -->
, #{owner_adstrd_code} <!-- 소유자행정동코드 -->
, #{owner_mntn} <!-- 소유자산 -->
, #{owner_lnbr} <!-- 소유자번지 -->
, #{owner_ho} <!-- 소유자호 -->
, #{owner_adres_nm} <!-- 소유자상세주소 -->
, #{owner_road_nm_code} <!-- 소유자도로명코드 -->
, #{owner_undgrnd_buld_se_code} <!-- 소유자지하건물구분코드 -->
, #{owner_buld_main_no} <!-- 소유자건물주요번호 -->
, #{owner_buld_sub_no} <!-- 소유자건물부번호 -->
, #{owner_adres_full} <!-- 소유자전체주소 -->
, #{aftr_vhrno} <!-- 신차량번호 -->
, #{use_fuel_code} <!-- 사용연료코드 -->
, #{prpos_se_code} <!-- 용도구분코드 -->
, #{mtrs_fom_nm} <!-- 원동기형식명 -->
, #{frnt_vhrno} <!-- 이전차량번호 -->
, #{vhrno} <!-- 차량번호 -->
, #{vin} <!-- 차대번호 -->
, #{cnm} <!-- 차명 -->
, #{vhcle_tot_wt} <!-- 차량총중량 -->
, #{caag_endde} <!-- 차령만료일자 -->
, #{change_de} <!-- 차번호변경시기 -->
, #{vhcty_asort_code} <!-- 차종종별코드 -->
, #{vhcty_ty_code} <!-- 차종유형코드 -->
, #{vhcty_se_code} <!-- 차종분류코드 -->
, #{mxmm_ldg} <!-- 최대적재량 -->
, #{vhcty_asort_nm} <!-- 차종종별명 -->
, #{vhcty_ty_nm} <!-- 차종유형명 -->
, #{vhcty_se_nm} <!-- 차종분류명 -->
, #{frst_regist_de} <!-- 최초등록일 -->
, #{fom_nm} <!-- 형식 -->
, #{acqs_de} <!-- 취득일자 -->
, #{acqs_end_de} <!-- 취득종료일자 -->
, #{ybl_md} <!-- 제작년월일 -->
, #{transr_regist_de} <!-- 이전등록일(양수일) -->
, #{spcf_regist_sttus_code} <!-- 제원등록상태코드 -->
, #{color_nm} <!-- 색상명 -->
, #{mrtg_co} <!-- 저당수 -->
, #{seizr_co} <!-- 압류건수 -->
, #{stmd_co} <!-- 구조변경수 -->
, #{nmpl_csdy_at} <!-- 번호판영치여부 -->
, #{nmpl_csdy_remnr_de} <!-- 번호판영치최고일 -->
, #{origin_se_code} <!-- 출처구분코드 -->
, #{nmpl_stndrd_code} <!-- 번호판규격코드 -->
, #{acqs_amount} <!-- 취득금액 -->
, #{inspt_valid_pd_bgnde} <!-- 검사유효기간시작일 -->
, #{inspt_valid_pd_endde} <!-- 검사유효기간종료일 -->
, #{chck_valid_pd_bgnde} <!-- 점검유효기간시작일 -->
, #{chck_valid_pd_endde} <!-- 점검유효기간종료일 -->
, #{use_strnghld_grc_code} <!-- 사용본거지관청코드 -->
, #{tkcar_pscap_co} <!-- 승차정원수 -->
, #{spmnno} <!-- 제원관리번호 -->
, #{trvl_dstnc} <!-- 주행거리 -->
, #{frst_regist_rqrcno} <!-- 최초등록접수번호 -->
, #{vlnt_ersr_prvntc_ntice_de} <!-- 예고통지일 -->
, #{regist_instt_nm} <!-- 등록기관명 -->
, #{process_imprty_resn_code} <!-- 처리불가사유코드 -->
, #{process_imprty_resn_dtls} <!-- 처리불가사유명세 -->
, #{vims_prpos_se_code} <!-- 용도구분코드 -->
, #{vims_vhcty_asort_code} <!-- 차종종별코드 -->
, #{vims_vhcty_ty_code} <!-- 차종유형코드 -->
, #{vims_vhcty_se_code} <!-- 차종분류코드 -->
, #{cbd_lt} <!-- 차체길이 -->
, #{cbd_bt} <!-- 차체너비 -->
, #{cbd_hg} <!-- 차체높이 -->
, #{frst_mxmm_ldg} <!-- 최초최대적재량 -->
)</insert>
</mapper>

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

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app>
<web-app id="WebApp_ID" version="3.1" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<display-name>XIT LVIS REST</display-name>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<!-- security
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
</listener>
security -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:spring/context-*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>dispatcherServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:spring/dispatcher-servlet.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcherServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>/index.do</welcome-file>
</welcome-file-list>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<session-config>
<session-timeout>60</session-timeout>
<tracking-mode>COOKIE</tracking-mode>
<cookie-config>
<http-only>true</http-only>
<secure>false</secure>
</cookie-config>
</session-config>
<error-page>
<error-code>404</error-code>
<location>/error/pageNotFound.do</location>
</error-page>
<error-page>
<location>/error/500.jsp</location>
</error-page>
</web-app>

@ -0,0 +1,5 @@
<html>
<body>
<h2>Hello World!</h2>
</body>
</html>

@ -0,0 +1,10 @@
### 자동차 기본정보 조회
GET http://localhost:8080/lvis-rest/api/lvis/basicInfo.do HTTP/1.1
Content-Type: application/json; charset=UTF-8
{
"vhrno": "57두0626",
"levy_stdde": "20230405"
}
Loading…
Cancel
Save