From 5aaac94a5a9ee814adad64258b00355ca00edce2 Mon Sep 17 00:00:00 2001 From: limju Date: Fri, 22 Sep 2023 10:35:42 +0900 Subject: [PATCH] feat: kt mms feat --- .../biz/cmm/service/CmmEnsCacheService.java | 1 - .../main/resources/config/application-ens.yml | 5 ++ .../main/resources/config/application-jpa.yml | 56 ++++++------- .../mapper/biz/ens-cmm-cache-mysql-mapper.xml | 31 +++++++ .../main/resources/config/application-jpa.yml | 56 ++++++------- .../biz/ens/model/cmm/CmmEnsRlaybsnmDTO.java | 81 +++++++++++++++++++ .../kr/xit/biz/ens/model/kt/KtMmsDTO.java | 28 +++++++ 7 files changed, 201 insertions(+), 57 deletions(-) create mode 100644 mens-core/src/main/java/kr/xit/biz/ens/model/cmm/CmmEnsRlaybsnmDTO.java create mode 100644 mens-core/src/main/java/kr/xit/biz/ens/model/kt/KtMmsDTO.java diff --git a/mens-api/src/main/java/kr/xit/biz/cmm/service/CmmEnsCacheService.java b/mens-api/src/main/java/kr/xit/biz/cmm/service/CmmEnsCacheService.java index 0cf7b1a..413fe38 100644 --- a/mens-api/src/main/java/kr/xit/biz/cmm/service/CmmEnsCacheService.java +++ b/mens-api/src/main/java/kr/xit/biz/cmm/service/CmmEnsCacheService.java @@ -46,7 +46,6 @@ public class CmmEnsCacheService implements ICmmEnsCacheService { * GET Nice CI 인증 관련 정보 * @param signguCode * @param ffnlgCode - * @param clientId * @return CrtfInfo */ @Transactional(readOnly = true) diff --git a/mens-api/src/main/resources/config/application-ens.yml b/mens-api/src/main/resources/config/application-ens.yml index 5c86762..2799ab3 100644 --- a/mens-api/src/main/resources/config/application-ens.yml +++ b/mens-api/src/main/resources/config/application-ens.yml @@ -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 diff --git a/mens-api/src/main/resources/config/application-jpa.yml b/mens-api/src/main/resources/config/application-jpa.yml index be0217e..0ea57be 100644 --- a/mens-api/src/main/resources/config/application-jpa.yml +++ b/mens-api/src/main/resources/config/application-jpa.yml @@ -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 diff --git a/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml b/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml index 380497d..6fa976a 100644 --- a/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml +++ b/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml @@ -35,5 +35,36 @@ -- AND client_id = #{clientId} + diff --git a/mens-batch/src/main/resources/config/application-jpa.yml b/mens-batch/src/main/resources/config/application-jpa.yml index be0217e..0ea57be 100644 --- a/mens-batch/src/main/resources/config/application-jpa.yml +++ b/mens-batch/src/main/resources/config/application-jpa.yml @@ -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 diff --git a/mens-core/src/main/java/kr/xit/biz/ens/model/cmm/CmmEnsRlaybsnmDTO.java b/mens-core/src/main/java/kr/xit/biz/ens/model/cmm/CmmEnsRlaybsnmDTO.java new file mode 100644 index 0000000..ea72297 --- /dev/null +++ b/mens-core/src/main/java/kr/xit/biz/ens/model/cmm/CmmEnsRlaybsnmDTO.java @@ -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; + +/** + *
+ * description : 전자고지 문서중계자 정보 DTO
+ *
+ * packageName : kr.xit.biz.ens.model.kt
+ * fileName    : KtMmsDTO
+ * author      : limju
+ * date        : 2023-09-22
+ * ======================================================================
+ * 변경일         변경자        변경 내용
+ * ----------------------------------------------------------------------
+ * 2023-09-22    limju       최초 생성
+ *
+ * 
+ */ +@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; +} diff --git a/mens-core/src/main/java/kr/xit/biz/ens/model/kt/KtMmsDTO.java b/mens-core/src/main/java/kr/xit/biz/ens/model/kt/KtMmsDTO.java new file mode 100644 index 0000000..b8dbae3 --- /dev/null +++ b/mens-core/src/main/java/kr/xit/biz/ens/model/kt/KtMmsDTO.java @@ -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; + +/** + *
+ * description : KT 공공 알림문자 DTO
+ *
+ * packageName : kr.xit.biz.ens.model.kt
+ * fileName    : KtMmsDTO
+ * author      : limju
+ * date        : 2023-09-22
+ * ======================================================================
+ * 변경일         변경자        변경 내용
+ * ----------------------------------------------------------------------
+ * 2023-09-22    limju       최초 생성
+ *
+ * 
+ */ +public class KtMmsDTO { + +}