feat: add ONCSC1340 MCI client and IO DTOs
This commit is contained in:
@@ -0,0 +1,36 @@
|
|||||||
|
package io.shinhanlife.dap.mcc.infra.itrf.mci.ncs.c;
|
||||||
|
|
||||||
|
import io.shinhanlife.dap.lib.integration.mci.component.AxhubMciComponent;
|
||||||
|
import io.shinhanlife.glow.communication.dto.Transfer;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package io.shinhanlife.dap.mcc.infra.itrf.mci.ncs.c
|
||||||
|
* @className MciNcsCClient
|
||||||
|
* @description 개인고객정보상세조회 MCI 호출 클라이언트
|
||||||
|
* @author KDK
|
||||||
|
* @create 2026.08.03
|
||||||
|
* <pre>
|
||||||
|
* ---------- 개정이력 ----------
|
||||||
|
* 수정일 수정자 수정내용
|
||||||
|
* ---------- -------- ---------------------------
|
||||||
|
* 2026.08.03 KDK 최초생성
|
||||||
|
*
|
||||||
|
* </pre>
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class MciNcsCClient {
|
||||||
|
|
||||||
|
private final AxhubMciComponent mci;
|
||||||
|
|
||||||
|
public <T> Transfer<T> callTo(
|
||||||
|
String interfaceId,
|
||||||
|
String dummy,
|
||||||
|
Object mciReq,
|
||||||
|
Class<T> resType
|
||||||
|
) throws Exception {
|
||||||
|
return mci.callTo(interfaceId, dummy, mciReq, resType);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
package io.shinhanlife.dap.mcc.infra.itrf.mci.ncs.c.io;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import io.shinhanlife.glow.communication.annotation.GlowTrgmField;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package io.shinhanlife.dap.mcc.infra.itrf.mci.ncs.c
|
||||||
|
* @className ONCSC1340_I
|
||||||
|
* @description 개인고객정보상세조회 InDto
|
||||||
|
* @author
|
||||||
|
* @create 2026.08.04
|
||||||
|
* <pre>
|
||||||
|
* ---------- 개정이력 ----------
|
||||||
|
* 수정일 수정자 수정내용
|
||||||
|
* ---------- -------- ---------------------------
|
||||||
|
*
|
||||||
|
* </pre>
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class ONCSC1340_I {
|
||||||
|
@GlowTrgmField(order = 1, length = 153, description = "개인고객정보상세조회InDto")
|
||||||
|
private IndvCsinDtptInqrInDto indvCsinDtptInqrInDto;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
|
public static class IndvCsinDtptInqrInDto {
|
||||||
|
@GlowTrgmField(order = 1, length = 3, description = "조회구분코드")
|
||||||
|
private String inqrScCd;
|
||||||
|
|
||||||
|
@GlowTrgmField(order = 2, length = 150, description = "고객조회내용")
|
||||||
|
private String cstInqrCt;
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user