oracle jdbc driver 추가, B14 mapper 수정

master
mjkhan21 11 months ago
parent cd75391382
commit f6def61809

@ -43,6 +43,12 @@
<artifactId>xit-lntris-special</artifactId>
<version>23.04.01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
<build>

@ -27,17 +27,17 @@ spring:
allow-bean-definition-overriding: true
sql:
init:
platform: mariadb
platform: mariadb 또는 oracle(해당 내용만 지정)
datasource:
hikari:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
jdbc-url: jdbc:log4jdbc:mariadb://105.20.1.125:53306/cleanparking?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false&autocommit=false
username: root
password: xit5811807
# jdbc-url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/platform?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false&autocommit=false
# username: fimsweb
# password: fimsweb!@
# MariaDB
jdbc-url: jdbc:log4jdbc:mariadb://호스트:포트/DB이름?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false&autocommit=false
# Oracle
# jdbc-url: jdbc:log4jdbc:oracle:thin:@호스트:포트:SID
username: 사용자 아이디
password: 사용자 비밀번호
auto-commit: false
mvc:

@ -661,8 +661,8 @@ INSERT INTO TB_NIS_SPCL_B14RV (
, RGTR <!-- 등록자 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
) VALUES (
#{resp.b14Id} <!-- 일련번호 ID -->
)<foreach collection="resps" item="resp" separator=" UNION">
SELECT #{resp.b14Id} <!-- 일련번호 ID -->
, #{resp.b14Sn} <!-- 일련번호 -->
, #{resp.sgbCd} <!-- 자치단체코드 -->
, #{resp.sgbNm} <!-- 자치단체명 -->
@ -770,7 +770,7 @@ INSERT INTO TB_NIS_SPCL_B14RV (
, #{currentUser.id} <!-- 등록자 -->
,<include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
FROM DUAL</foreach></insert>
<resultMap id="b15ReqRow" type="cokr.xit.interfaces.lntris.special.b.LntrisB15"> <!-- 전용차로위반 과태료 대장 목록 요청 -->
<result property="b15Id" column="B15_ID" /> <!-- 일련번호 ID -->

Loading…
Cancel
Save