refactor: extract Onnba3011ReqDto into separate file
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
package io.shinhanlife.dap.mcc.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package io.shinhanlife.dap.mcc.dto
|
||||||
|
* @className Onnba3011ReqDto
|
||||||
|
* @description 보종By가입설계한도계산조회 MCI 요청 DTO
|
||||||
|
* @author 김형식
|
||||||
|
* @create 2026.09.01
|
||||||
|
* <pre>
|
||||||
|
* ---------- 개정이력 ----------
|
||||||
|
* 수정일 수정자 수정내용
|
||||||
|
* ---------- -------- ---------------------------
|
||||||
|
* 2026.09.01 김형식 최초생성
|
||||||
|
*
|
||||||
|
* </pre>
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class Onnba3011ReqDto {
|
||||||
|
// 실제 가입설계한도계산 조회에 필요한 필드
|
||||||
|
private String customerId;
|
||||||
|
}
|
||||||
@@ -8,6 +8,7 @@ import io.shinhanlife.dap.mcc.annotation.McpTool;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import io.shinhanlife.dap.mcc.dto.Onnba3011ReqDto;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
@@ -37,12 +38,7 @@ public class OnnbaMciToolService {
|
|||||||
@Value("${shinhan.integration.mci.default-url:http://localhost:8081/api/mock/esb/api}")
|
@Value("${shinhan.integration.mci.default-url:http://localhost:8081/api/mock/esb/api}")
|
||||||
private String mciTargetUrl;
|
private String mciTargetUrl;
|
||||||
|
|
||||||
// AI가 인식하게 될 파라미터 DTO (기존 ONNBA3011_I 와 동일한 구조)
|
|
||||||
@Data
|
|
||||||
public static class Onnba3011ReqDto {
|
|
||||||
// 실제 가입설계한도계산 조회에 필요한 필드
|
|
||||||
private String customerId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AI Agent가 호출하게 될 메서드입니다.
|
* AI Agent가 호출하게 될 메서드입니다.
|
||||||
|
|||||||
Reference in New Issue
Block a user