feat: kt mms feat

dev
gitea-관리자 1 year ago
parent fbab8a940a
commit 5aaac94a5a

@ -46,7 +46,6 @@ public class CmmEnsCacheService implements ICmmEnsCacheService {
* GET Nice CI
* @param signguCode
* @param ffnlgCode
* @param clientId
* @return CrtfInfo
*/
@Transactional(readOnly = true)

@ -37,3 +37,8 @@ contract:
publickey: /digital/niceid/api/v1.0/common/crypto/publickey
symmetrickey: /digital/niceid/api/v1.0/common/crypto/symmetrickey
ci: /digital/niceid/cert/v1.0/ipin/addinfo/ci
kt:
dummy: true
host: http://172.16.0.13:10210/ONLWeb/api/pf/blacklist/reg
# signgu-code: 11000
# ffnlg-code: 11

@ -7,34 +7,34 @@ app:
jpa:
enabled: false
spring:
jpa:
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
# 템플릿 view 화면의 렌더링이 끝날 때 까지 Lazy fetch 가 가능하도록 해주는 속성
open-in-view: false
generate-ddl: false
show-sql: true
properties:
order_inserts: true
order_updates: true
default_batch_fetch_size: ${chunkSize:100}
current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
physical_naming_strategy: kr.xit.core.spring.config.support.LowercaseSnakePhysicalNamingStrategy
hibernate:
hbm2ddl:
auto: none
import_files_sql_extractor: org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor
format_sql: true
use_sql_comments: false
jdbc:
batch_size: 20
lob:
# postgres 사용시 createLob() 미구현 경고 삭제
non_contextual_creation: true
# Jdbc 환경구성을 하는 과정에서 Default Metadata를 사용할 지 여부
temp:
use_jdbc_metadata_defaults: false
#spring:
# jpa:
# database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
# # 템플릿 view 화면의 렌더링이 끝날 때 까지 Lazy fetch 가 가능하도록 해주는 속성
# open-in-view: false
# generate-ddl: false
# show-sql: true
# properties:
# order_inserts: true
# order_updates: true
# default_batch_fetch_size: ${chunkSize:100}
# current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
# implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
# physical_naming_strategy: kr.xit.core.spring.config.support.LowercaseSnakePhysicalNamingStrategy
# hibernate:
# hbm2ddl:
# auto: none
# import_files_sql_extractor: org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor
# format_sql: true
# use_sql_comments: false
# jdbc:
# batch_size: 20
# lob:
# # postgres 사용시 createLob() 미구현 경고 삭제
# non_contextual_creation: true
# # Jdbc 환경구성을 하는 과정에서 Default Metadata를 사용할 지 여부
# temp:
# use_jdbc_metadata_defaults: false
# ==================================================================================================================
# JPA logging lib setting

@ -35,5 +35,36 @@
-- AND client_id = #{clientId}
</select>
<select id="selectEnsRlaybsnmInfo" resultType="kr.xit.biz.ens.model.nice.NiceCiDTO$NiceCiInfo">
/** ens-cmm-cache-mysql-mapper|selectEnsRlaybsnmInfo-중계사업관리자정보조회|julim */
SELECT signgu_code, /* 시군구코드 */
ffnlg_code, /* 과태료코드 */
client_id, /* nice client id */
client_secret, /* app security code */
product_id, /* 상품 코드 */
access_token, /* access token */
expires_in, /* access token 만료일시(초)*/
token_type, /* token type */
scope, /* token scope */
site_code, /* 공개키 사이트 코드 */
key_version, /* 공개키 버전 */
public_key, /* 공개키 */
valid_dtim, /* 공개키 만료일시 */
cur_symkey_version, /* 현재 대칭키 버전 */
cur_symkey_valid_dtim, /* 현재 대칭키 만료일시 */
cur_symkey_key, /* 현재 대칭키 - key */
cur_symkey_iv, /* 현재 대칭키 - iv */
cur_symkey_hmac_key, /* 현재 대칭키 - hmac_key */
bef_symkey_version, /* 이전 대칭키 버전 */
bef_symkey_valid_dtim, /* 이전 대칭키 만료일시 */
bef_symkey_key, /* 이전 대칭키 - key */
bef_symkey_iv, /* 이전 대칭키 - iv */
bef_symkey_hmac_key, /* 이전 대칭키 - hmac_key */
timestampdiff(DAY, now(), valid_dtim) AS remainingDays /* 잔여일수-공용키 */
FROM tb_cmm_nice_instn_crtf_info
WHERE signgu_code = #{signguCode}
AND ffnlg_code = #{ffnlgCode}
-- AND client_id = #{clientId}
</select>
</mapper>

@ -7,34 +7,34 @@ app:
jpa:
enabled: false
spring:
jpa:
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
# 템플릿 view 화면의 렌더링이 끝날 때 까지 Lazy fetch 가 가능하도록 해주는 속성
open-in-view: false
generate-ddl: false
show-sql: true
properties:
order_inserts: true
order_updates: true
default_batch_fetch_size: ${chunkSize:100}
current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
physical_naming_strategy: kr.xit.core.spring.config.support.LowercaseSnakePhysicalNamingStrategy
hibernate:
hbm2ddl:
auto: none
import_files_sql_extractor: org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor
format_sql: true
use_sql_comments: false
jdbc:
batch_size: 20
lob:
# postgres 사용시 createLob() 미구현 경고 삭제
non_contextual_creation: true
# Jdbc 환경구성을 하는 과정에서 Default Metadata를 사용할 지 여부
temp:
use_jdbc_metadata_defaults: false
#spring:
# jpa:
# database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
# # 템플릿 view 화면의 렌더링이 끝날 때 까지 Lazy fetch 가 가능하도록 해주는 속성
# open-in-view: false
# generate-ddl: false
# show-sql: true
# properties:
# order_inserts: true
# order_updates: true
# default_batch_fetch_size: ${chunkSize:100}
# current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
# implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
# physical_naming_strategy: kr.xit.core.spring.config.support.LowercaseSnakePhysicalNamingStrategy
# hibernate:
# hbm2ddl:
# auto: none
# import_files_sql_extractor: org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor
# format_sql: true
# use_sql_comments: false
# jdbc:
# batch_size: 20
# lob:
# # postgres 사용시 createLob() 미구현 경고 삭제
# non_contextual_creation: true
# # Jdbc 환경구성을 하는 과정에서 Default Metadata를 사용할 지 여부
# temp:
# use_jdbc_metadata_defaults: false
# ==================================================================================================================
# JPA logging lib setting

@ -0,0 +1,81 @@
package kr.xit.biz.ens.model.cmm;
import java.io.Serializable;
import kr.xit.biz.common.AuditFields;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
/**
* <pre>
* description : DTO
*
* packageName : kr.xit.biz.ens.model.kt
* fileName : KtMmsDTO
* author : limju
* date : 2023-09-22
* ======================================================================
*
* ----------------------------------------------------------------------
* 2023-09-22 limju
*
* </pre>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class CmmEnsRlaybsnmDTO extends AuditFields implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
private String signguCode;
/**
*
*/
private String ffnlgCode;
/**
*
*/
private String signguNm;
/**
*
*/
private String ffnlgNm;
/**
* KAKAO ACCESS TOKEN
*/
private String kakaoAccessToken;
/**
* KAKAO CONTRACT UUID
*/
private String kakaoContractUuid;
/**
* KT_ACCESS_TOKEN
*/
private String ktAccessToken;
/**
* KT COMPANY CD
*/
private String ktCompanyCd;
/**
*
*/
private String senderNm;
/**
*
*/
private String senderZipNo;
/**
*
*/
private String senderAddr;
/**
*
*/
private String senderDetailAddr;
}

@ -0,0 +1,28 @@
package kr.xit.biz.ens.model.kt;
import java.io.Serializable;
import kr.xit.biz.common.AuditFields;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
/**
* <pre>
* description : KT DTO
*
* packageName : kr.xit.biz.ens.model.kt
* fileName : KtMmsDTO
* author : limju
* date : 2023-09-22
* ======================================================================
*
* ----------------------------------------------------------------------
* 2023-09-22 limju
*
* </pre>
*/
public class KtMmsDTO {
}
Loading…
Cancel
Save